Run go vet

Bugs found.
This commit is contained in:
kortschak 2014-08-28 12:22:37 +09:30
parent 8118c8d3cc
commit bf6412b55d
12 changed files with 28 additions and 14 deletions

View file

@ -186,7 +186,7 @@ func TestMQL(t *testing.T) {
if !reflect.DeepEqual(got, expect) {
b, err := json.MarshalIndent(got, "", " ")
if err != nil {
t.Fatalf("unexpected JSON marshal error", err)
t.Fatalf("unexpected JSON marshal error: %v", err)
}
t.Errorf("Failed to %s, got: %s expected: %s", test.message, b, test.expect)
}