diff options
Diffstat (limited to 'hugofs')
-rw-r--r-- | hugofs/createcounting_fs.go | 4 | ||||
-rw-r--r-- | hugofs/glob/glob_test.go | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/hugofs/createcounting_fs.go b/hugofs/createcounting_fs.go index 1737ad5ce..901deb3ae 100644 --- a/hugofs/createcounting_fs.go +++ b/hugofs/createcounting_fs.go @@ -33,9 +33,7 @@ type DuplicatesReporter interface { ReportDuplicates() string } -var ( - _ FilesystemUnwrapper = (*createCountingFs)(nil) -) +var _ FilesystemUnwrapper = (*createCountingFs)(nil) func NewCreateCountingFs(fs afero.Fs) afero.Fs { return &createCountingFs{Fs: fs, fileCount: make(map[string]int)} diff --git a/hugofs/glob/glob_test.go b/hugofs/glob/glob_test.go index 454fb850a..b63854e29 100644 --- a/hugofs/glob/glob_test.go +++ b/hugofs/glob/glob_test.go @@ -75,7 +75,6 @@ func TestGetGlob(t *testing.T) { } func BenchmarkGetGlob(b *testing.B) { - runBench := func(name string, cache *globCache, search string) { b.Run(name, func(b *testing.B) { g, err := GetGlob("**/foo") |