Commit b2329e99 authored by Robert Hencke's avatar Robert Hencke Committed by Andrew Gerrand

cgo: fix incorrect print found by govet

R=golang-dev
CC=golang-dev
https://golang.org/cl/5445052
parent fbdec642
...@@ -29,7 +29,7 @@ var testPairs = []testPair{ ...@@ -29,7 +29,7 @@ var testPairs = []testPair{
func testHelpers(t *testing.T) { func testHelpers(t *testing.T) {
for _, pair := range testPairs { for _, pair := range testPairs {
if !reflect.DeepEqual(pair.Got, pair.Want) { 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)
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment