aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/internal/sandbox/mount_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/internal/sandbox/mount_test.go')
-rw-r--r--test/internal/sandbox/mount_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/internal/sandbox/mount_test.go b/test/internal/sandbox/mount_test.go
index 65bcec43..a565b0a0 100644
--- a/test/internal/sandbox/mount_test.go
+++ b/test/internal/sandbox/mount_test.go
@@ -4,7 +4,7 @@ package sandbox_test
import (
"os"
- "path"
+ "path/filepath"
"testing"
"hakurei.app/test/internal/sandbox"
@@ -87,7 +87,7 @@ func TestMountinfo(t *testing.T) {
}
for _, tc := range testCases {
- name := path.Join(t.TempDir(), "sample")
+ name := filepath.Join(t.TempDir(), "sample")
if err := os.WriteFile(name, []byte(tc.sample), 0400); err != nil {
t.Fatalf("cannot write sample: %v", err)
}