mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix a few more printf arg bugs found by go vet
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7413045
This commit is contained in:
parent
3dc7f17e89
commit
1bf66f081f
3 changed files with 5 additions and 5 deletions
|
|
@ -967,7 +967,7 @@ var ContainsRuneTests = []struct {
|
|||
func TestContainsRune(t *testing.T) {
|
||||
for _, ct := range ContainsRuneTests {
|
||||
if ContainsRune(ct.str, ct.r) != ct.expected {
|
||||
t.Errorf("ContainsRune(%s, %s) = %v, want %v",
|
||||
t.Errorf("ContainsRune(%q, %q) = %v, want %v",
|
||||
ct.str, ct.r, !ct.expected, ct.expected)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue