diff options
Diffstat (limited to 'internal/wayland')
| -rw-r--r-- | internal/wayland/conn_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/wayland/conn_test.go b/internal/wayland/conn_test.go index a884c182..30c66cb2 100644 --- a/internal/wayland/conn_test.go +++ b/internal/wayland/conn_test.go @@ -3,7 +3,7 @@ package wayland import ( "errors" "os" - "path" + "path/filepath" "reflect" "syscall" "testing" @@ -19,7 +19,7 @@ func TestSecurityContextClose(t *testing.T) { } var ctx SecurityContext - if f, err := os.Create(path.Join(t.TempDir(), "remove")); err != nil { + if f, err := os.Create(filepath.Join(t.TempDir(), "remove")); err != nil { t.Fatal(err) } else { ctx.bindPath = check.MustAbs(f.Name()) |
