aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/internal/sandbox/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/internal/sandbox/fs.go')
-rw-r--r--test/internal/sandbox/fs.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/internal/sandbox/fs.go b/test/internal/sandbox/fs.go
index 36d6c6d3..b37d30b9 100644
--- a/test/internal/sandbox/fs.go
+++ b/test/internal/sandbox/fs.go
@@ -6,7 +6,7 @@ import (
"errors"
"fmt"
"io/fs"
- "path"
+ "path/filepath"
"strings"
)
@@ -68,7 +68,7 @@ func (s *FS) Compare(prefix string, e fs.FS) error {
printDir(prefix, dir)
return ErrFSInvalidEnt
} else {
- name = path.Join(prefix, name)
+ name = filepath.Join(prefix, name)
if fi, err := got.Info(); err != nil {
return err