mirror of
https://github.com/golang/go
synced 2024-11-23 17:30:02 -07:00
testing: fix vet warning
Updates #11041 Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c Reviewed-on: https://go-review.googlesource.com/23081 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
376e641540
commit
e54dfc2ec4
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user