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.
1 parent 31bc808 commit f533e1bCopy full SHA for f533e1b
Tests/FunctionalTests/MiscellaneousTests.swift
@@ -89,7 +89,8 @@ class MiscellaneousTestCase: XCTestCase {
89
return XCTFail("failed in an unexpected manner: \(error)")
90
}
91
XCTAssertMatch(error.stdout + error.stderr, .contains("Compiling CompileFails Foo.swift"))
92
- XCTAssertMatch(error.stdout + error.stderr, .regex("error: .*\n.*compile_failure"))
+ XCTAssertMatch(error.stdout + error.stderr, .regex(".*compile_failure.*"))
93
+ XCTAssertMatch(error.stdout + error.stderr, .regex(".*error:.*"))
94
95
96
0 commit comments