Commit fdc6376c authored by David Symonds's avatar David Symonds

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
parent e45e3244
...@@ -887,7 +887,7 @@ func TestMap(t *testing.T) { ...@@ -887,7 +887,7 @@ func TestMap(t *testing.T) {
if i >= len(keys) { if i >= len(keys) {
t.Errorf("Missing key #%d %q", i, k) t.Errorf("Missing key #%d %q", i, k)
} else if kv := keys[i]; kv.String() != 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++ i++
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment