Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Say that a test of a closed folder needs permissions that hold

Țugui Dragoș1183902c131a
diff --git a/Packages/PeelCore/Tests/PeelCoreTests/CloudStorageTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/CloudStorageTests.swift
index 7c109855..19af571e 100644
--- a/Packages/PeelCore/Tests/PeelCoreTests/CloudStorageTests.swift
+++ b/Packages/PeelCore/Tests/PeelCoreTests/CloudStorageTests.swift
@@ -513,7 +513,7 @@ struct CloudStorageTests {
#expect(collector.collected.files.isEmpty)
}
- @Test func aHomeFolderThatCannotBeReadIsNamedAndTheRestStays() async throws {
+ @Test(.permissionsHold) func aHomeFolderThatCannotBeReadIsNamedAndTheRestStays() async throws {
let directory = try TemporaryDirectory()
let documents = try directory.directory("Documents")
try directory.file("Library/Mobile Documents/com~apple~CloudDocs/InICloud.png", bytes: 2_000)