Fix few vet errors.

There are quite a few 'composite literal uses unkeyed fields' errors that I have kept out of this patch.
And there's a couple where vet just seems confused. These are the easiest ones.
This commit is contained in:
Rohit Jnagal
2015-01-07 08:40:16 +00:00
parent 4c57ec0f56
commit 62ecd5f3ff
9 changed files with 11 additions and 12 deletions

View File

@@ -286,7 +286,7 @@ func Test() (results ResultsByTest) {
continue
}
if err != nil {
log.Fatal("Bad test pattern: %v", tests)
log.Fatalf("Bad test pattern: %v", *tests)
}
toRun = append(toRun, name)
}