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.

398 B
Raw Blame
@testable import Peel
import Testing
import UserNotifications

struct NotificationNeedTests {
    @Test func onlyARefusalCountsAsTurnedOff() {
        #expect(PeelNotifications.areTurnedOff(.denied))
        #expect(!PeelNotifications.areTurnedOff(.authorized))
        #expect(!PeelNotifications.areTurnedOff(.provisional))
        #expect(!PeelNotifications.areTurnedOff(.notDetermined))
    }
}