diff options
Diffstat (limited to 'test/internal/sandbox/assert.go')
| -rw-r--r-- | test/internal/sandbox/assert.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/internal/sandbox/assert.go b/test/internal/sandbox/assert.go index e2bcc8ae..1194befb 100644 --- a/test/internal/sandbox/assert.go +++ b/test/internal/sandbox/assert.go @@ -33,7 +33,7 @@ func fatalf(format string, v ...any) { fatalfFunc(format, v...) } type TestCase struct { Env []string `json:"env"` - FS *FS `json:"fs"` + FS *testsuite.FS `json:"fs"` Mount []*mountinfo.Entry `json:"mount"` Seccomp bool `json:"seccomp"` @@ -110,7 +110,7 @@ func (t *T) MustCheck(want *TestCase) { } if want.FS != nil && t.FS != nil { - if err := want.FS.Compare(".", t.FS); err != nil { + if err := want.FS.Compare(printfFunc, ".", t.FS); err != nil { fatalf("%v", err) } } else { |
