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.

419 B
Raw Blame
import Foundation
@testable import Peel
import Testing

@MainActor
struct OrphanSummaryTests {
    @Test func saysWhatOnlyAnAdministratorCanMoveApartFromTheGroups() {
        #expect(OrphanLibrary.summary(groups: nil, forAnAdministrator: 0) == nil)
        #expect(OrphanLibrary.summary(groups: nil, forAnAdministrator: 2).map { String($0.characters) }
            == "2 items only an administrator can move.")
    }
}