aboutsummaryrefslogtreecommitdiffhomepage
path: root/system/dbus/dbus_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-07 19:01:18 +0900
committerOphestra <cat@gensokyo.uk>2025-10-07 19:03:51 +0900
commitd23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (patch)
tree46e7f73bc2b06047561588294759ddb8a71184f2 /system/dbus/dbus_test.go
parent3ce63e95d7691450f7b368e639d984a223a764b1 (diff)
hst/dbus: move dbus config struct
This allows holding a xdg-dbus-proxy configuration without importing system/dbus. It also makes more sense in the project structure since the config struct is part of the hst API however the rest of the implementation is not. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'system/dbus/dbus_test.go')
-rw-r--r--system/dbus/dbus_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/dbus/dbus_test.go b/system/dbus/dbus_test.go
index 2599ef8f..978b55e1 100644
--- a/system/dbus/dbus_test.go
+++ b/system/dbus/dbus_test.go
@@ -22,7 +22,7 @@ func TestFinalise(t *testing.T) {
err, syscall.EBADE)
}
- for id, tc := range testCasePairs() {
+ for id, tc := range testCasePairs {
t.Run("create final for "+id, func(t *testing.T) {
var wt io.WriterTo
if v, err := dbus.Finalise(tc[0].bus, tc[1].bus, tc[0].c, tc[1].c); (errors.Is(err, syscall.EINVAL)) != tc[0].wantErr {
@@ -105,7 +105,7 @@ func testProxyFinaliseStartWaitCloseString(t *testing.T, useSandbox bool) {
}
})
- for id, tc := range testCasePairs() {
+ for id, tc := range testCasePairs {
// this test does not test errors
if tc[0].wantErr {
continue