From 00f245b9597e727379b2c881c3d0a0d4d789f57b Mon Sep 17 00:00:00 2001 From: David Hill Date: Thu, 28 Aug 2014 10:32:49 -0400 Subject: [PATCH] Fix formatting directives in tests. Found by 'go vet' --- bloom/filter_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bloom/filter_test.go b/bloom/filter_test.go index 518012e..f2d0d7c 100644 --- a/bloom/filter_test.go +++ b/bloom/filter_test.go @@ -29,13 +29,13 @@ func TestFilterLoad(t *testing.T) { f := bloom.LoadFilter(&merkle) if !f.IsLoaded() { - t.Errorf("TestFilterLoad IsLoaded test failed: want %d got %d", + t.Errorf("TestFilterLoad IsLoaded test failed: want %v got %v", true, !f.IsLoaded()) return } f.Unload() if f.IsLoaded() { - t.Errorf("TestFilterLoad IsLoaded test failed: want %d got %d", + t.Errorf("TestFilterLoad IsLoaded test failed: want %v got %v", f.IsLoaded(), false) return }