aboutsummaryrefslogtreecommitdiff
path: root/storage/storage_fs_test.go
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 19:13:41 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-10-16 19:16:35 +0200
commiteb1b7d7d9149114eb6b4287b7cb40c49dccfb26e (patch)
tree12f797651abeda9512d56d8922199ae9edb2a293 /storage/storage_fs_test.go
parent98844247a424558939228b82e9b5f28d723c4fe0 (diff)
downloadporg-master.tar.gz
porg-master.tar.bz2
porg-master.zip
feat: Add storage interfaceHEADmaster
With this is easier to interact with storage layers.
Diffstat (limited to 'storage/storage_fs_test.go')
-rw-r--r--storage/storage_fs_test.go3
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{}{}
}