From d10677bb6f20dd3b4a32312a61b75ef2bb125925 Mon Sep 17 00:00:00 2001 From: Travis Turner Date: Fri, 3 Nov 2017 18:02:21 -0500 Subject: [PATCH] Fix error format on slices. These tests were failing on `Go:master` (passing on `Go:1.8` and `Go:1.9`) --- client_test.go | 2 +- executor_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client_test.go b/client_test.go index 7e769381b..613d37659 100644 --- a/client_test.go +++ b/client_test.go @@ -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) } } diff --git a/executor_test.go b/executor_test.go index bf7550b25..2a5266371 100644 --- a/executor_test.go +++ b/executor_test.go @@ -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()) } })