aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorAliaksandr Valialkin <valyala@gmail.com>2016-05-12 15:03:22 +0300
committerBrad Fitzpatrick <bradfitz@golang.org>2016-05-12 16:22:42 +0000
commite54dfc2ec4a057aa1bf06f9bef5cdb2e769a669d (patch)
treead078905e06ec20d886cfd77014f2f2e3c9e27a7 /src/testing
parent376e6415402b4e62f96fb7f8f7a99d352aa9c1b3 (diff)
downloadgo-e54dfc2ec4a057aa1bf06f9bef5cdb2e769a669d.tar.xz
testing: fix vet warning
Updates #11041 Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c Reviewed-on: https://go-review.googlesource.com/23081 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/match_test.go4
1 files 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)
}
}
}