aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/app_stub_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-18 23:05:37 +0900
committerOphestra <cat@gensokyo.uk>2025-02-18 23:07:28 +0900
commit648e1d641a8b0ae7c5bc4899f84b884d4335c97f (patch)
treefdb45d1fedb60487c22a1fceb9d87ba883f03779 /internal/app/app_stub_test.go
parent3c327084d387b316795f45420e8d0c6f9ce71ffe (diff)
app: separate interface from implementation
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/app_stub_test.go')
-rw-r--r--internal/app/app_stub_test.go6
1 files changed, 3 insertions, 3 deletions
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",