This commit is contained in:
Yuce Tekol 2019-01-04 01:56:10 +03:00
parent 2babb3c51c
commit c30b03df14
No known key found for this signature in database
GPG key ID: CB59E46D2FB90573

View file

@ -427,7 +427,7 @@ func MustDo(method, urlStr string, body string) *httpResponse {
func CheckGroupBy(t *testing.T, expected, results []pilosa.GroupCount) {
if len(results) != len(expected) {
t.Fatalf("number of groupings mismatch:\n got:%+v\nwant:%+v\n", results, expected)
t.Fatalf("number of groupings mismatch:\n got:%+v\nwant:%+v\n", results, expected)
}
for i, result := range results {
if !reflect.DeepEqual(expected[i], result) {