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.

331 B
Raw Blame
import Darwin
@testable import PeelCore
import Testing

struct IgnoredSignalsTests {
    @Test func givesEachSignalItsHandlerBackOnceTheWorkEnds() {
        let ignored = IgnoredSignals([SIGUSR2])

        #expect(ignored.run { SignalDisposition.isIgnored(SIGUSR2) })
        #expect(!SignalDisposition.isIgnored(SIGUSR2))
    }
}