Skip to content
Snippets Groups Projects
Commit 76cce771 authored by cyberta's avatar cyberta Committed by cyberta
Browse files

fix linter issues in benchmark tests

parent f37db357
Branches
Tags
Loading
......@@ -47,7 +47,7 @@ func BenchmarkMultiple(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
chs.PickRandom()
_, _ = chs.PickRandom()
}
})
})
......@@ -86,7 +86,7 @@ func BenchmarkSingle(b *testing.B) {
for i := 0; i < b.N; i++ {
// never actually do this, this is not how the library is used
chs, _ := NewChooser(wr_menshen_choices...)
chs.PickRandom()
_, _ = chs.PickRandom()
}
})
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment