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:
Russ Cox 2014-02-15 20:00:15 -05:00
parent 7a7c0ffb47
commit 7056b05f7a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}
}