Archived
Fixes for go vet
This commit is contained in:
1 parent
0c9f1efc75
commit
12d69e25dd
3 files changed
+5
-5
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user