aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/fs_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'hst/fs_test.go')
-rw-r--r--hst/fs_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hst/fs_test.go b/hst/fs_test.go
index 43825c65..af8738f6 100644
--- a/hst/fs_test.go
+++ b/hst/fs_test.go
@@ -209,7 +209,7 @@ type stubFS struct {
func (s stubFS) Valid() bool { return false }
func (s stubFS) Path() *container.Absolute { panic("unreachable") }
func (s stubFS) Host() []*container.Absolute { panic("unreachable") }
-func (s stubFS) Apply(*container.Ops) { panic("unreachable") }
+func (s stubFS) Apply(*hst.ApplyState) { panic("unreachable") }
func (s stubFS) String() string { return "<invalid " + s.typeName + ">" }
type sCheck struct {
@@ -238,7 +238,7 @@ func checkFs(t *testing.T, testCases []fsTestCase) {
t.Run("ops", func(t *testing.T) {
ops := new(container.Ops)
- tc.fs.Apply(ops)
+ tc.fs.Apply(&hst.ApplyState{AutoEtcPrefix: ":3", Ops: ops})
if !reflect.DeepEqual(ops, &tc.ops) {
gotString := new(strings.Builder)
for _, op := range *ops {