File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -645,7 +645,7 @@ final class SwiftDriverTests: XCTestCase {
645645 }
646646
647647 func testUsingResponseFiles( ) throws {
648- let manyArgs = ( 1 ... 500_000 ) . map { " -DTEST_ \( $0) " }
648+ let manyArgs = ( 1 ... 20000 ) . map { " -DTEST_ \( $0) " }
649649 // Needs response file
650650 do {
651651 var driver = try Driver ( args: [ " swift " ] + manyArgs + [ " foo.swift " ] )
@@ -659,7 +659,7 @@ final class SwiftDriverTests: XCTestCase {
659659 let responseFilePath = try AbsolutePath ( validating: String ( resolvedArgs [ 1 ] . dropFirst ( ) ) )
660660 let contents = try localFileSystem. readFileContents ( responseFilePath) . description
661661 XCTAssertTrue ( contents. hasPrefix ( " -frontend \n -interpret \n foo.swift " ) )
662- XCTAssertTrue ( contents. contains ( " -D \n TEST_500000 " ) )
662+ XCTAssertTrue ( contents. contains ( " -D \n TEST_20000 " ) )
663663 XCTAssertTrue ( contents. contains ( " -D \n TEST_1 " ) )
664664 }
665665 // Forced response file
You can’t perform that action at this time.
0 commit comments