diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 22:34:10 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2024-01-28 23:14:09 +0100 |
commit | a795acbcd8b18aa4af384d5c03f30740361c8fcf (patch) | |
tree | 0dbf7b000681a738b892c5235daf52c63cda88b9 /hugofs | |
parent | 982d9513e71b3d48e20cfa38454a0e1215a8d963 (diff) |
all: Run gofumpt -l -w .
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") |