Skip to content

Commit 9ac763e

Browse files
author
David Ungar
committed
Renaming, remove use of XCTExpectFailure
1 parent 167287c commit 9ac763e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/SwiftDriverTests/IncrementalCompilationTests.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,12 @@ extension RemovalTestOptions {
362362

363363
extension IncrementalCompilationTests {
364364
/// While all cases are being made to work, just test for now in known good cases
365-
func testRemovalOfPassingCases() throws {
365+
func testRemovalInPassingCases() throws {
366366
try testRemoval(includeFailingCombos: false)
367367
}
368368

369369
/// Someday, turn this test on and test all cases
370-
func testRemovalOfAllCases() throws {
370+
func testRemovalInAllCases() throws {
371371
throw XCTSkip("unimplemented")
372372
try testRemoval(includeFailingCombos: true)
373373
}
@@ -384,9 +384,7 @@ extension IncrementalCompilationTests {
384384
try testRemoval(optionsToTest)
385385
}
386386
else if includeFailingCombos {
387-
try XCTExpectFailure("\(optionsToTest) should fail") {
388387
try testRemoval(optionsToTest)
389-
}
390388
}
391389
}
392390
#endif

0 commit comments

Comments
 (0)