aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/wayland_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-03 02:26:14 +0900
committerOphestra <cat@gensokyo.uk>2025-10-03 02:26:14 +0900
commitd16da6da8c4880d90dc35fa9006806f7c0395d7f (patch)
treed4ca8fed4e14bcffe63268daa6d8efd1923ff03b /system/wayland_test.go
parente58181a930064385c881b7ee1cac4914dd435121 (diff)
system: enforce absolute paths
This is less error-prone, and is quite easy to integrate considering internal/app has already migrated to container.Absolute. Closes #11. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/wayland_test.go')
-rw-r--r--system/wayland_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/wayland_test.go b/system/wayland_test.go
index 3ae62476..9e06cfae 100644
--- a/system/wayland_test.go
+++ b/system/wayland_test.go
@@ -218,8 +218,8 @@ func TestWaylandOp(t *testing.T) {
{"chromium", 0xcafe, func(_ *testing.T, sys *I) {
sys.Wayland(
new(*os.File),
- "/tmp/hakurei.1971/ebf083d1b175911782d413369b64ce7c/wayland",
- "/run/user/1971/wayland-0",
+ m("/tmp/hakurei.1971/ebf083d1b175911782d413369b64ce7c/wayland"),
+ m("/run/user/1971/wayland-0"),
"org.chromium.Chromium",
"ebf083d1b175911782d413369b64ce7c",
)