Fixed vet issues

This commit is contained in:
Carlos Salguero
2017-11-14 11:43:43 -03:00
parent 43094be458
commit 09599800b5

View File

@@ -214,7 +214,7 @@ func TestStatsSingle(t *testing.T) {
t.Fatalf("cannot load expected data %s: %s", dirExpect+f, err)
}
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)
}
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) {
t.Errorf("s.Queries() = %s, want %s", got, expect)
t.Errorf("s.Queries() = %v, want %v", got, expect)
}
})