mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
all: Apply staticcheck recommendations
This commit is contained in:
@@ -70,6 +70,7 @@ func TestCompositeLanguagFsTest(t *testing.T) {
|
||||
assert.NoError(err)
|
||||
defer f.Close()
|
||||
files, err := f.Readdir(-1)
|
||||
assert.NoError(err)
|
||||
assert.Equal(4, len(files))
|
||||
expected := map[string]bool{
|
||||
filepath.FromSlash("/content/en/f1.txt"): true,
|
||||
|
Reference in New Issue
Block a user