This commit is contained in:
gobwas 2016-02-02 22:05:56 +03:00
parent 51a65fcc7d
commit 3222d37775
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ func TestNothingIndex(t *testing.T) {
} }
func BenchmarkIndexNothing(b *testing.B) { func BenchmarkIndexNothing(b *testing.B) {
m := Max{10} m := Nothing{}
for i := 0; i < b.N; i++ { for i := 0; i < b.N; i++ {
m.Index(bench_pattern) m.Index(bench_pattern)
} }