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)
|
f := bloom.LoadFilter(&merkle)
|
||||||
if !f.IsLoaded() {
|
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())
|
true, !f.IsLoaded())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
f.Unload()
|
f.Unload()
|
||||||
if f.IsLoaded() {
|
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)
|
f.IsLoaded(), false)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue