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

@@ -46,7 +46,7 @@ func TestRandomString(t *testing.T) {
for _, l := range []int{0, 1, 2, 3, 4, 8, 42} {
s := randomString(l)
if len(s) != l {
t.Errorf("Incorrect length %d != %s", len(s), l)
t.Errorf("Incorrect length %d != %d", len(s), l)
}
}