Fixes for go vet

This commit is contained in:
Jakob Borg
2014-12-08 16:19:08 +01:00
parent 0c9f1efc75
commit 12d69e25dd
3 changed files with 5 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ func TestCache(t *testing.T) {
res, ok := c.get("nonexistent")
if res != false || ok != false {
t.Error("res %v, ok %v for nonexistent item", res, ok)
t.Errorf("res %v, ok %v for nonexistent item", res, ok)
}
// Set and check some items