Skip to content

Commit e54dfc2

Browse files
valyalabradfitz
authored andcommitted
testing: fix vet warning
Updates #11041 Change-Id: I32a381854e6a4fd791db380150efab57e6dfc38c Reviewed-on: https://go-review.googlesource.com/23081 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 376e641 commit e54dfc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/testing/match_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ func TestMatcher(t *T) {
135135
parent.level = 1
136136
}
137137
if n, ok := m.fullName(parent, tc.sub); ok != tc.ok {
138-
t.Errorf("pattern: %q, parent: %q, sub %q: got %v; want %v",
139-
tc.pattern, tc.parent, tc.sub, ok, tc.ok, n)
138+
t.Errorf("for pattern %q, fullName(parent=%q, sub=%q) = %q, ok %v; want ok %v",
139+
tc.pattern, tc.parent, tc.sub, n, ok, tc.ok)
140140
}
141141
}
142142
}

0 commit comments

Comments
 (0)