We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3376f2b + a9618f8 commit d07ba91Copy full SHA for d07ba91
stdlib/private/StdlibUnittest/StdlibUnittest.swift.gyb
@@ -572,14 +572,13 @@ public func _setTrappingExpectationFailedCallback(callback: @escaping () -> Void
572
extension ProcessTerminationStatus {
573
var isSwiftTrap: Bool {
574
switch self {
575
- case .exit(_):
576
- return false
577
case .signal(let signal):
578
return CInt(signal) == SIGILL || CInt(signal) == SIGTRAP
579
default:
580
// This default case is needed for standard library builds where
581
// resilience is enabled.
582
- // FIXME: Need a way to suppress when not.
+ // FIXME: Add the .exit case when there is a way to suppress when not.
+ // case .exit(_): return false
583
return false
584
}
585
0 commit comments