From 14530584cb8fc1a0ceed632c94d70238498b1d5d Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 19 Mar 2011 01:10:56 -0700 Subject: [PATCH] camli/test/asserts: missing format param --- lib/go/camli/test/asserts/asserts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/go/camli/test/asserts/asserts.go b/lib/go/camli/test/asserts/asserts.go index 9a74f3ed4..ce24648b9 100644 --- a/lib/go/camli/test/asserts/asserts.go +++ b/lib/go/camli/test/asserts/asserts.go @@ -92,13 +92,13 @@ func ExpectNil(t *testing.T, v interface{}, what string) { if v == nil { return } - t.Errorf("%s: expected nil; got %v", v) + t.Errorf("%s: expected nil; got %v", what, v) } func AssertNil(t *testing.T, v interface{}, what string) { if v == nil { return } - t.Fatalf("%s: expected nil; got %v", v) + t.Fatalf("%s: expected nil; got %v", what, v) }