File tree 2 files changed +2
-8
lines changed
Sources/_InternalTestSupport
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -401,13 +401,7 @@ private func swiftArgs(
401
401
Xswiftc: [ String ] ,
402
402
buildSystem: BuildSystemProvider . Kind ?
403
403
) -> [ String ] {
404
- var args = [ " --configuration " ]
405
- switch configuration {
406
- case . debug:
407
- args. append ( " debug " )
408
- case . release:
409
- args. append ( " release " )
410
- }
404
+ var args = [ " --configuration " , " \( configuration) " ]
411
405
412
406
args += Xcc . flatMap { [ " -Xcc " , $0] }
413
407
args += Xld . flatMap { [ " -Xlinker " , $0] }
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class ResourcesSwiftBuildDebugConfigTests: ResourcesTestCase {
70
70
#if os(macOS)
71
71
try XCTSkipSwiftBuildTodo ( because: " Fails to build: cannot find 'PackageResources' in scope " )
72
72
#else
73
- try await super. testResourcesEmbeddedInCode ( ) ( )
73
+ try await super. testResourcesEmbeddedInCode ( )
74
74
#endif
75
75
}
76
76
}
You can’t perform that action at this time.
0 commit comments