Skip to content

Commit 2008ad7

Browse files
committed
filesystem: use filesystem.Root in test
1 parent 2bb0959 commit 2008ad7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/filesystem/filesystem_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,7 @@ func streamDirCancels(t *testing.T, testFS fstest.MapFS) {
205205

206206
func openRoot(t *testing.T, fsys fs.FS) fs.File {
207207
t.Helper()
208-
const fsRoot = "."
209-
root, err := fsys.Open(fsRoot)
208+
root, err := fsys.Open(filesystem.Root)
210209
if err != nil {
211210
t.Fatal(err)
212211
}

0 commit comments

Comments
 (0)