From 21cd0362320d7963081ddd969be8f43d765cdce9 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 12 Oct 2026 19:06:57 +0200 Subject: [PATCH] Format the third review's tests (hq ADR 0325) --- internal/apply/kept_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 {