diff options
Diffstat (limited to 'misc/cgo/test/helpers.go')
-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 de14d19ab..890dcbdf1 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) } } } |