diff options
Diffstat (limited to 'hugofs/glob/glob_test.go')
-rw-r--r-- | hugofs/glob/glob_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hugofs/glob/glob_test.go b/hugofs/glob/glob_test.go index 66efe9e53..d40e16edc 100644 --- a/hugofs/glob/glob_test.go +++ b/hugofs/glob/glob_test.go @@ -66,7 +66,7 @@ func TestNormalizePath(t *testing.T) { } func TestGetGlob(t *testing.T) { - for _, cache := range []*globCache{defaultGlobCache, filenamesGlobCache} { + for _, cache := range []*globCache{defaultGlobCache} { c := qt.New(t) g, err := cache.GetGlob("**.JSON") c.Assert(err, qt.IsNil) @@ -89,8 +89,8 @@ func BenchmarkGetGlob(b *testing.B) { } runBench("Default cache", defaultGlobCache, "abcde") - runBench("Filenames cache, lowercase searchs", filenamesGlobCache, "abcde") - runBench("Filenames cache, mixed case searchs", filenamesGlobCache, "abCDe") + runBench("Filenames cache, lowercase searchs", defaultGlobCache, "abcde") + runBench("Filenames cache, mixed case searchs", defaultGlobCache, "abCDe") b.Run("GetGlob", func(b *testing.B) { for i := 0; i < b.N; i++ { |