@@ -1294,7 +1294,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1294
1294
" -explicit-dependency-graph-format=json " ] ,
1295
1295
diagnosticsEngine: diagnosticEngine)
1296
1296
let _ = try driver. planBuild ( )
1297
- XCTAssertFalse ( diagnosticEngine. hasErrors)
1298
1297
}
1299
1298
1300
1299
let output = try withHijackedOutputStream {
@@ -1304,7 +1303,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1304
1303
" -explicit-dependency-graph-format=json " ] ,
1305
1304
diagnosticsEngine: diagnosticEngine)
1306
1305
let _ = try driver. planBuild ( )
1307
- XCTAssertFalse ( diagnosticEngine. hasErrors)
1308
1306
}
1309
1307
XCTAssertTrue ( output. contains ( " \" mainModuleName \" : \" testPrintingExplicitDependencyGraph \" , " ) )
1310
1308
@@ -1315,7 +1313,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1315
1313
" -explicit-dependency-graph-format=dot " ] ,
1316
1314
diagnosticsEngine: diagnosticEngine)
1317
1315
let _ = try driver. planBuild ( )
1318
- XCTAssertFalse ( diagnosticEngine. hasErrors)
1319
1316
}
1320
1317
XCTAssertTrue ( output2. contains ( " \" testPrintingExplicitDependencyGraph \" [shape=box, style=bold, color=navy " ) )
1321
1318
@@ -1325,7 +1322,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
1325
1322
" -print-explicit-dependency-graph " ] ,
1326
1323
diagnosticsEngine: diagnosticEngine)
1327
1324
let _ = try driver. planBuild ( )
1328
- XCTAssertFalse ( diagnosticEngine. hasErrors)
1329
1325
}
1330
1326
XCTAssertTrue ( output3. contains ( " \" mainModuleName \" : \" testPrintingExplicitDependencyGraph \" , " ) )
1331
1327
}
0 commit comments