Skip to content

Commit 7e5a8ee

Browse files
authored
Merge pull request fatih#89 from miku/printf-wrong-verb
correct printf verb
2 parents 74a29b9 + 4ee1ba0 commit 7e5a8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

structs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ func TestMap_NestedMapWithSliceIntValues(t *testing.T) {
399399

400400
foo := in["Foo"].(map[string][]int)
401401
if name := foo["example_key"]; name[0] != 80 {
402-
t.Errorf("Map nested struct's name field should give example, got: %s", name)
402+
t.Errorf("Map nested struct's name field should give example, got: %v", name)
403403
}
404404
}
405405

0 commit comments

Comments
 (0)