Fix error format on slices.

These tests were failing on `Go:master` (passing on `Go:1.8` and
`Go:1.9`)
This commit is contained in:
Travis Turner 2017-11-03 18:02:21 -05:00 committed by Michael Baird
parent 17da0443d3
commit 721baba105
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ func TestClient_MultiNode(t *testing.T) {
}
}
if !ownsNum {
t.Fatalf("Trying to use slice %d on host %s, but it doesn't own that slice. It owns %s", num, s[i].Host(), owns)
t.Fatalf("Trying to use slice %d on host %s, but it doesn't own that slice. It owns %v", num, s[i].Host(), owns)
}
}

View file

@ -781,7 +781,7 @@ func TestExecutor_Execute_FieldRange(t *testing.T) {
t.Fatal(err)
} else if !reflect.DeepEqual([]uint64{0}, result[0].(*pilosa.Bitmap).Bits()) {
//t.Fatalf("unexpected result: %s", spew.Sdump(result))
t.Fatalf("unexpected result: %s", result[0].(*pilosa.Bitmap).Bits())
t.Fatalf("unexpected result: %v", result[0].(*pilosa.Bitmap).Bits())
}
})