diff options
author | Robert Hencke <robert.hencke@gmail.com> | 2011-11-29 14:40:34 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2011-11-29 14:40:34 +1100 |
commit | b2329e997bd64a8a0a9b7800665fb7f3cc9c6bda (patch) | |
tree | ac1c0f891d5fb4e4c919bfe817d7467fadfdfcfe | |
parent | fbdec642a980d73cdd7dbfd18018f18c6d198ffc (diff) | |
download | go-b2329e997bd64a8a0a9b7800665fb7f3cc9c6bda.tar.gz go-b2329e997bd64a8a0a9b7800665fb7f3cc9c6bda.zip |
cgo: fix incorrect print found by govet
R=golang-dev
CC=golang-dev
https://golang.org/cl/5445052
-rw-r--r-- | misc/cgo/test/helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/cgo/test/helpers.go b/misc/cgo/test/helpers.go index de14d19abf..890dcbdf1d 100644 --- a/misc/cgo/test/helpers.go +++ b/misc/cgo/test/helpers.go @@ -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) } } } |