From d23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 19:01:18 +0900 Subject: 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 --- system/dbus/dbus_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/dbus/dbus_test.go') 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 -- cgit v1.3.1