From e54dfc2ec4a057aa1bf06f9bef5cdb2e769a669d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 12 May 2016 15:03:22 +0300 Subject: [PATCH] testing: fix vet warning Updates #11041 Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c Reviewed-on: https://go-review.googlesource.com/23081 Reviewed-by: Brad Fitzpatrick --- src/testing/match_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } } } -- 2.50.0