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.

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

struct ToolDefaultsTests {
    @Test func showsICloudDriveByDefaultOnlyWhereItIsSetUp() {
        #expect(Tool.cloud.isShownByDefault(homebrewIsInstalled: true, hasICloudDrive: true))
        #expect(!Tool.cloud.isShownByDefault(homebrewIsInstalled: true, hasICloudDrive: false))
        #expect(!Tool.homebrew.isShownByDefault(homebrewIsInstalled: false, hasICloudDrive: true))
        #expect(Tool.duplicates.isShownByDefault(homebrewIsInstalled: false, hasICloudDrive: false))
    }
}