Skip to content

Commit 7ca953a

Browse files
committed
Improve failure signal in exit tests so I can maybe see why they're failing on AL2
1 parent 442d5c8 commit 7ca953a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/ExitTests/ExitTest.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,11 +525,11 @@ func callExitTest(
525525
}
526526

527527
// Plumb the exit test's result through the general expectation machinery.
528+
let expression = __Expression(String(describingForTest: expectedExitCondition))
528529
return __checkValue(
529530
expectedExitCondition.isApproximatelyEqual(to: result.exitStatus),
530531
expression: expression,
531532
expressionWithCapturedRuntimeValues: expression.capturingRuntimeValues(result.exitStatus),
532-
mismatchedExitConditionDescription: String(describingForTest: expectedExitCondition),
533533
comments: comments(),
534534
isRequired: isRequired,
535535
sourceLocation: sourceLocation

0 commit comments

Comments
 (0)