1
0
mirror of https://github.com/golang/go synced 2024-11-20 08:54:40 -07:00

reflect: fix test failure reporting.

There's a problem that is manifesting on the 386 builders,
but this test bug is masking it.

R=adg
CC=golang-dev
https://golang.org/cl/5295042
This commit is contained in:
David Symonds 2011-10-18 12:26:09 +11:00
parent e45e324420
commit fdc6376c00

View File

@ -887,7 +887,7 @@ func TestMap(t *testing.T) {
if i >= len(keys) {
t.Errorf("Missing key #%d %q", i, k)
} else if kv := keys[i]; kv.String() != k {
t.Errorf("Keys[%q] = %d, want %d", i, kv.Int(), k)
t.Errorf("Keys[%q] = %q, want %q", i, kv.String(), k)
}
i++