fix 'go vet' warnings

This commit is contained in:
Tim Hockin
2014-11-20 20:42:48 +08:00
parent ea960711ff
commit 95a9098311
19 changed files with 32 additions and 34 deletions

View File

@@ -192,10 +192,10 @@ func TestRequiresExactMatch(t *testing.T) {
for k, v := range testCases {
value, found := v.S.RequiresExactMatch(v.Label)
if value != v.Value {
t.Errorf("%s: expected value %v, got %s", k, v.Value, value)
t.Errorf("%s: expected value %s, got %s", k, v.Value, value)
}
if found != v.Found {
t.Errorf("%s: expected found %v, got %s", k, v.Found, found)
t.Errorf("%s: expected found %t, got %t", k, v.Found, found)
}
}
}