mirror of https://github.com/golang/go.git
debug/elf: correct test failure print
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/64380043
This commit is contained in:
parent
7a7c0ffb47
commit
7056b05f7a
|
|
@ -43,7 +43,7 @@ func TestNames(t *testing.T) {
|
|||
for i, tt := range nameTests {
|
||||
s := fmt.Sprint(tt.val)
|
||||
if s != tt.str {
|
||||
t.Errorf("#%d: want %q have %q", i, s, tt.str)
|
||||
t.Errorf("#%d: Sprint(%d) = %q, want %q", i, tt.val, s, tt.str)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue