Cleaned up linter warnings

This commit is contained in:
2024-06-27 20:54:07 +02:00
parent a64169d624
commit 77cfe9ff31
6 changed files with 29 additions and 28 deletions

View File

@ -10,10 +10,11 @@ import (
func TestWalk(t *testing.T) {
var files []string
fs.Walk(".", func(file string) {
err := fs.Walk(".", func(file string) {
files = append(files, file)
})
assert.Nil(t, err)
assert.Contains(t, files, "Walk.go")
assert.Contains(t, files, "Walk_test.go")
}