aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/dispatcher_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-09-29 06:32:15 +0900
committerOphestra <cat@gensokyo.uk>2025-09-29 06:34:29 +0900
commit44ba7a5f02b7575a706a22aac53c8ac608d18f23 (patch)
treec08890b09a42c38bdf24b976421704ce83a74fad /system/dispatcher_test.go
parentdc467493d8a1461ea321ccf5ca3a2b037f880088 (diff)
hst/enablement: move bits from system
This is part of the hst API, should not be in the implementation package. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/dispatcher_test.go')
-rw-r--r--system/dispatcher_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/dispatcher_test.go b/system/dispatcher_test.go
index d83b46b4..eb93d16f 100644
--- a/system/dispatcher_test.go
+++ b/system/dispatcher_test.go
@@ -12,6 +12,7 @@ import (
"unsafe"
"hakurei.app/container/stub"
+ "hakurei.app/hst"
"hakurei.app/system/acl"
"hakurei.app/system/dbus"
"hakurei.app/system/internal/xcb"
@@ -26,7 +27,7 @@ func call(name string, args stub.ExpectArgs, ret any, err error) stub.Call {
type opBehaviourTestCase struct {
name string
uid int
- ec Enablement
+ ec hst.Enablement
op Op
apply []stub.Call
@@ -142,7 +143,7 @@ type opMetaTestCase struct {
name string
op Op
- wantType Enablement
+ wantType hst.Enablement
wantPath string
wantString string
}