Commit e54dfc2e authored by Aliaksandr Valialkin's avatar Aliaksandr Valialkin Committed by Brad Fitzpatrick

testing: fix vet warning

Updates #11041

Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c
Reviewed-on: https://go-review.googlesource.com/23081Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 376e6415
......@@ -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)
}
}
}
......
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