mirror of
https://github.com/golang/go
synced 2024-11-21 20:54:45 -07:00
cgo: fix incorrect print found by govet
R=golang-dev CC=golang-dev https://golang.org/cl/5445052
This commit is contained in:
parent
fbdec642a9
commit
b2329e997b
@ -29,7 +29,7 @@ var testPairs = []testPair{
|
||||
func testHelpers(t *testing.T) {
|
||||
for _, pair := range testPairs {
|
||||
if !reflect.DeepEqual(pair.Got, pair.Want) {
|
||||
t.Errorf("%s: got %#v, want %#v", pair.Got, pair.Want)
|
||||
t.Errorf("%s: got %#v, want %#v", pair.Name, pair.Got, pair.Want)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user