From: Aliaksandr Valialkin Date: Thu, 12 May 2016 12:03:22 +0000 (+0300) Subject: testing: fix vet warning X-Git-Tag: go1.7beta1~234 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e54dfc2ec4a057aa1bf06f9bef5cdb2e769a669d;p=gostls13.git testing: fix vet warning Updates #11041 Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c Reviewed-on: https://go-review.googlesource.com/23081 Reviewed-by: Brad Fitzpatrick --- diff --git a/src/testing/match_test.go b/src/testing/match_test.go index d19036c72d..8c1c5f4452 100644 --- a/src/testing/match_test.go +++ b/src/testing/match_test.go @@ -135,8 +135,8 @@ func TestMatcher(t *T) { parent.level = 1 } if n, ok := m.fullName(parent, tc.sub); ok != tc.ok { - t.Errorf("pattern: %q, parent: %q, sub %q: got %v; want %v", - tc.pattern, tc.parent, tc.sub, ok, tc.ok, n) + t.Errorf("for pattern %q, fullName(parent=%q, sub=%q) = %q, ok %v; want ok %v", + tc.pattern, tc.parent, tc.sub, n, ok, tc.ok) } } }