package fs import ( "os" "testing" "github.com/foxcpp/maddy/framework/module" "github.com/foxcpp/maddy/internal/storage/blob" "github.com/foxcpp/maddy/internal/testutils" ) func TestFS(t *testing.T) { blob.TestStore(t, func() module.BlobStore { dir := testutils.Dir(t) return &FSStore{instName: "test", root: dir} }, func(store module.BlobStore) { os.RemoveAll(store.(*FSStore).root) }) }