make go vet happy

This commit is contained in:
Kamil Dziedzic
2017-11-14 13:49:16 +01:00
parent 349f148978
commit f655e3f014

View File

@@ -214,7 +214,7 @@ func TestStatsSingle(t *testing.T) {
t.Fatalf("cannot load expected data %s: %s", dirExpect+f, err) t.Fatalf("cannot load expected data %s: %s", dirExpect+f, err)
} }
if !reflect.DeepEqual(got, expect) { if !reflect.DeepEqual(got, expect) {
t.Errorf("s.Queries() = %s, want %s", got, expect) t.Errorf("s.Queries() = %#v, want %#v", got, expect)
} }
}) })
} }
@@ -261,7 +261,7 @@ func TestStatsAll(t *testing.T) {
t.Fatalf("cannot load expected data %s: %s", f, err) t.Fatalf("cannot load expected data %s: %s", f, err)
} }
if !reflect.DeepEqual(got, expect) { if !reflect.DeepEqual(got, expect) {
t.Errorf("s.Queries() = %s, want %s", got, expect) t.Errorf("s.Queries() = %#v, want %#v", got, expect)
} }
} }
@@ -343,7 +343,7 @@ func TestAvailableMetrics(t *testing.T) {
} }
if !reflect.DeepEqual(got, expect) { if !reflect.DeepEqual(got, expect) {
t.Errorf("s.Queries() = %s, want %s", got, expect) t.Errorf("s.Queries() = %#v, want %#v", got, expect)
} }
}) })