Fix formatting directives in tests.
Found by 'go vet'
This commit is contained in:
parent
f6d6cd5d27
commit
00f245b959
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue