correct printf verb

This commit is contained in:
Martin Czygan 2017-06-12 11:45:43 +02:00
parent 74a29b9fac
commit 4ee1ba06c3

View File

@ -399,7 +399,7 @@ func TestMap_NestedMapWithSliceIntValues(t *testing.T) {
foo := in["Foo"].(map[string][]int) foo := in["Foo"].(map[string][]int)
if name := foo["example_key"]; name[0] != 80 { if name := foo["example_key"]; name[0] != 80 {
t.Errorf("Map nested struct's name field should give example, got: %s", name) t.Errorf("Map nested struct's name field should give example, got: %v", name)
} }
} }