aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/app/export_test.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-02-19 01:10:37 +0900
committerOphestra <cat@gensokyo.uk>2025-02-19 01:10:37 +0900
commit53571f030e86884bc13fe1d3760ac6bf51d2938b (patch)
treefaf32418ba2d8ba98f4254c19e61c40b23b9f88f /internal/app/export_test.go
parentaa164081e1c2c477059d9e321675c217eb8ebeb6 (diff)
app: embed appSeal in app struct
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/app/export_test.go')
-rw-r--r--internal/app/export_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/app/export_test.go b/internal/app/export_test.go
index 1dd1aa1f..54b7f345 100644
--- a/internal/app/export_test.go
+++ b/internal/app/export_test.go
@@ -10,11 +10,11 @@ import (
func NewWithID(id fst.ID, os sys.State) fst.App {
a := new(app)
a.id = newID(&id)
- a.os = os
+ a.sys = os
return a
}
func AppSystemBwrap(a fst.App) (*system.I, *bwrap.Config) {
v := a.(*app)
- return v.seal.sys.I, v.seal.sys.bwrap
+ return v.appSeal.sys.I, v.appSeal.sys.bwrap
}