diff options
Diffstat (limited to 'storage/storage_fs_test.go')
-rw-r--r-- | storage/storage_fs_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/storage_fs_test.go b/storage/storage_fs_test.go index b746c7e..429de58 100644 --- a/storage/storage_fs_test.go +++ b/storage/storage_fs_test.go @@ -10,12 +10,13 @@ func TestWalk(t *testing.T) { folder := testutil.CreateFolder() files := map[string]struct{}{} walkedFiles := map[string]struct{}{} + fs := NewFileSystem() for i := 0; i < fileCount; i++ { files[testutil.AppendEmptyFile(folder)] = struct{}{} } - c := WalkFolder(folder, File) + c := fs.Walk(folder, File) for file := range c { walkedFiles[file] = struct{}{} } |