From 648e1d641a8b0ae7c5bc4899f84b884d4335c97f Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 18 Feb 2025 23:05:37 +0900 Subject: app: separate interface from implementation Signed-off-by: Ophestra --- internal/app/app_stub_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/app/app_stub_test.go') diff --git a/internal/app/app_stub_test.go b/internal/app/app_stub_test.go index 89804d29..262055fe 100644 --- a/internal/app/app_stub_test.go +++ b/internal/app/app_stub_test.go @@ -7,7 +7,7 @@ import ( "os/user" "strconv" - "git.gensokyo.uk/security/fortify/internal/sys" + "git.gensokyo.uk/security/fortify/fst" ) // fs methods are not implemented using a real FS @@ -126,8 +126,8 @@ func (s *stubNixOS) Open(name string) (fs.File, error) { } } -func (s *stubNixOS) Paths() sys.Paths { - return sys.Paths{ +func (s *stubNixOS) Paths() fst.Paths { + return fst.Paths{ SharePath: "/tmp/fortify.1971", RuntimePath: "/run/user/1971", RunDirPath: "/run/user/1971/fortify", -- cgit v1.3.1