Skip to content

Commit 56934bf

Browse files
beccadaxkevints
authored andcommitted
Add back some elided returns
It’s blocking PR testing on the 4/24 branch, which doesn’t appear to have the feature.
1 parent 6a1ca96 commit 56934bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TestFoundation/Utilities.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,11 +571,11 @@ func appendTestCaseExpectedToFail<T: XCTestCase>(_ reason: String, _ allTests: [
571571
}
572572

573573
func testExpectedToFail<T>(_ test: @escaping (T) -> () throws -> Void, _ reason: String) -> (T) -> () throws -> Void {
574-
testExpectedToFailWithCheck(check: shouldAttemptXFailTests(_:), test, reason)
574+
return testExpectedToFailWithCheck(check: shouldAttemptXFailTests(_:), test, reason)
575575
}
576576

577577
func testExpectedToFailOnWindows<T>(_ test: @escaping (T) -> () throws -> Void, _ reason: String) -> (T) -> () throws -> Void {
578-
testExpectedToFailWithCheck(check: shouldAttemptWindowsXFailTests(_:), test, reason)
578+
return testExpectedToFailWithCheck(check: shouldAttemptWindowsXFailTests(_:), test, reason)
579579
}
580580

581581
func testExpectedToFailOnAndroid<T>(_ test: @escaping (T) -> () throws -> Void, _ reason: String) -> (T) -> () throws -> Void {

0 commit comments

Comments
 (0)