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.

438 B
Raw Blame
@testable import Peel
import Testing

@MainActor
struct CommandLineRowTests {
    @Test func aStandardAccountCannotInstallTheTool() {
        #expect(HomeModel.commandLineState(isOnThePath: true, isAdministrator: false) == .on)
        #expect(HomeModel.commandLineState(isOnThePath: false, isAdministrator: true) == .off)
        #expect(HomeModel.commandLineState(isOnThePath: false, isAdministrator: false) == .notThisAccount)
    }
}