File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Tests/SwiftSDKGeneratorTests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -336,8 +336,8 @@ func buildTestcases(config: SDKConfiguration) async throws {
336
336
logger. info ( " Built Swift SDK " )
337
337
338
338
// Cleanup
339
- let cleanupSdk : ( ) async -> Void = {
340
- logger. info ( " Removing Swift SDK to cleanup ... " )
339
+ func cleanupSDK ( ) async {
340
+ logger. info ( " Removing Swift SDK to clean up ... " )
341
341
try ? await Shell . run ( " swift experimental-sdk remove \( bundleName) " )
342
342
}
343
343
@@ -349,12 +349,12 @@ func buildTestcases(config: SDKConfiguration) async throws {
349
349
)
350
350
}
351
351
} catch {
352
- await cleanupSdk ( )
352
+ await cleanupSDK ( )
353
353
throw error
354
354
}
355
355
}
356
356
357
- await cleanupSdk ( )
357
+ await cleanupSDK ( )
358
358
}
359
359
360
360
final class Swift59_UbuntuEndToEndTests : XCTestCase {
You can’t perform that action at this time.
0 commit comments