mirror of https://github.com/gobwas/glob.git
fix
This commit is contained in:
parent
51a65fcc7d
commit
3222d37775
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue