@@ -18,9 +18,9 @@ class TestDiscoveryTests: XCTestCase {
1818 fixture ( name: " Miscellaneous/TestDiscovery/Simple " ) { path in
1919 let ( stdout, _) = try executeSwiftBuild ( path)
2020 #if os(macOS)
21- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
21+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
2222 #else
23- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
23+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
2424 #endif
2525 }
2626 }
@@ -29,10 +29,10 @@ class TestDiscoveryTests: XCTestCase {
2929 fixture ( name: " Miscellaneous/TestDiscovery/Simple " ) { path in
3030 let ( stdout, stderr) = try executeSwiftTest ( path)
3131 #if os(macOS)
32- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
32+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
3333 XCTAssertMatch ( stderr, . contains( " Executed 2 tests " ) )
3434 #else
35- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
35+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
3636 XCTAssertMatch ( stdout, . contains( " Executed 2 tests " ) )
3737 #endif
3838 }
@@ -42,10 +42,10 @@ class TestDiscoveryTests: XCTestCase {
4242 fixture ( name: " Miscellaneous/TestDiscovery/hello world " ) { path in
4343 let ( stdout, stderr) = try executeSwiftTest ( path)
4444 #if os(macOS)
45- XCTAssertMatch ( stdout, . contains( " Merging module hello_world" ) )
45+ XCTAssertMatch ( stdout, . contains( " module hello_world " ) )
4646 XCTAssertMatch ( stderr, . contains( " Executed 1 test " ) )
4747 #else
48- XCTAssertMatch ( stdout, . contains( " Merging module hello_world" ) )
48+ XCTAssertMatch ( stdout, . contains( " module hello_world " ) )
4949 XCTAssertMatch ( stdout, . contains( " Executed 1 test " ) )
5050 #endif
5151 }
@@ -61,7 +61,7 @@ class TestDiscoveryTests: XCTestCase {
6161 let manifestPath = path. appending ( components: " Tests " , name)
6262 try localFileSystem. writeFileContents ( manifestPath, bytes: ByteString ( " print( \" \( random) \" ) " . utf8) )
6363 let ( stdout, _) = try executeSwiftTest ( path)
64- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
64+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
6565 XCTAssertNoMatch ( stdout, . contains( " Executed 1 test " ) )
6666 XCTAssertMatch ( stdout, . contains( random) )
6767 }
@@ -78,7 +78,7 @@ class TestDiscoveryTests: XCTestCase {
7878 let manifestPath = path. appending ( components: " Tests " , name)
7979 try localFileSystem. writeFileContents ( manifestPath, bytes: ByteString ( " fatalError( \" should not be called \" ) " . utf8) )
8080 let ( stdout, _) = try executeSwiftTest ( path, extraArgs: [ " --enable-test-discovery " ] )
81- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
81+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
8282 XCTAssertNoMatch ( stdout, . contains( " Executed 1 test " ) )
8383 }
8484 #endif
@@ -90,7 +90,7 @@ class TestDiscoveryTests: XCTestCase {
9090 #else
9191 fixture ( name: " Miscellaneous/TestDiscovery/Extensions " ) { path in
9292 let ( stdout, _) = try executeSwiftTest ( path, extraArgs: [ " --enable-test-discovery " ] )
93- XCTAssertMatch ( stdout, . contains( " Merging module Simple" ) )
93+ XCTAssertMatch ( stdout, . contains( " module Simple " ) )
9494 XCTAssertMatch ( stdout, . contains( " SimpleTests1.testExample1 " ) )
9595 XCTAssertMatch ( stdout, . contains( " SimpleTests1.testExample1_a " ) )
9696 XCTAssertMatch ( stdout, . contains( " SimpleTests2.testExample2 " ) )
0 commit comments