mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
e45e324420
commit
fdc6376c00
1 changed files with 1 additions and 1 deletions
|
|
@ -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++
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue