Skip to content

Commit cef8ea9

Browse files
committed
Add throws
1 parent be3cb05 commit cef8ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/RegexTests/UTS18Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ fileprivate func expectFirstMatch<Output: Equatable>(
6262
}
6363

6464
#if os(Linux)
65-
func XCTExpectFailure(_ message: String? = nil, body: () -> Void) {}
65+
func XCTExpectFailure(_ message: String? = nil, body: () throws -> Void) rethrows {}
6666
#endif
6767

6868
// MARK: - Basic Unicode Support: Level 1

0 commit comments

Comments
 (0)