@@ -1294,7 +1294,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
12941294 " -explicit-dependency-graph-format=json " ] ,
12951295 diagnosticsEngine: diagnosticEngine)
12961296 let _ = try driver. planBuild ( )
1297- XCTAssertFalse ( diagnosticEngine. hasErrors)
12981297 }
12991298
13001299 let output = try withHijackedOutputStream {
@@ -1304,7 +1303,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
13041303 " -explicit-dependency-graph-format=json " ] ,
13051304 diagnosticsEngine: diagnosticEngine)
13061305 let _ = try driver. planBuild ( )
1307- XCTAssertFalse ( diagnosticEngine. hasErrors)
13081306 }
13091307 XCTAssertTrue ( output. contains ( " \" mainModuleName \" : \" testPrintingExplicitDependencyGraph \" , " ) )
13101308
@@ -1315,7 +1313,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
13151313 " -explicit-dependency-graph-format=dot " ] ,
13161314 diagnosticsEngine: diagnosticEngine)
13171315 let _ = try driver. planBuild ( )
1318- XCTAssertFalse ( diagnosticEngine. hasErrors)
13191316 }
13201317 XCTAssertTrue ( output2. contains ( " \" testPrintingExplicitDependencyGraph \" [shape=box, style=bold, color=navy " ) )
13211318
@@ -1325,7 +1322,6 @@ final class ExplicitModuleBuildTests: XCTestCase {
13251322 " -print-explicit-dependency-graph " ] ,
13261323 diagnosticsEngine: diagnosticEngine)
13271324 let _ = try driver. planBuild ( )
1328- XCTAssertFalse ( diagnosticEngine. hasErrors)
13291325 }
13301326 XCTAssertTrue ( output3. contains ( " \" mainModuleName \" : \" testPrintingExplicitDependencyGraph \" , " ) )
13311327 }
0 commit comments