Format the third review's tests (hq ADR 0325)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user