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 @@ -399,13 +399,7 @@ private func swiftArgs(
399
399
Xswiftc: [ String ] ,
400
400
buildSystem: BuildSystemProvider . Kind ?
401
401
) -> [ String ] {
402
- var args = [ " --configuration " ]
403
- switch configuration {
404
- case . debug:
405
- args. append ( " debug " )
406
- case . release:
407
- args. append ( " release " )
408
- }
402
+ var args = [ " --configuration " , " \( configuration) " ]
409
403
410
404
args += Xcc . flatMap { [ " -Xcc " , $0] }
411
405
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