diff --git a/internal/apply/kept_test.go b/internal/apply/kept_test.go index 4982c4c..3f13c75 100644 --- a/internal/apply/kept_test.go +++ b/internal/apply/kept_test.go @@ -971,7 +971,10 @@ func TestEntriesLeftOnAFilesystemNoLongerAtTheFolderAreDroppedWhenItIsBack(t *te // The pool goes: the filesystem below holds the folder again, and the entries left there are taken out. MountPoints = func() []string { return []string{"/"} } ReconcileKept(context.Background()) - if _, still := func() (uint16, bool) { a, _, _ := readACLs(t, filepath.Join(lib, "old")); return a.perm(aclUser, radarr) }(); still { + if _, still := func() (uint16, bool) { + a, _, _ := readACLs(t, filepath.Join(lib, "old")) + return a.perm(aclUser, radarr) + }(); still { t.Fatal("the entries left on the filesystem that came back were not taken out") } if left := Leftovers(); len(left) != 0 {