Format the third review's tests (hq ADR 0325)

This commit is contained in:
2026-10-12 19:06:57 +02:00
parent f0adb177f0
commit 21cd036232
+4 -1
View File
@@ -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 {