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:
Rob Pike 2013-02-28 11:33:08 -08:00
parent 3dc7f17e89
commit 1bf66f081f
3 changed files with 5 additions and 5 deletions

View file

@ -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)
}
}