File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Testing
55
66@Suite struct LinkTests {
77 /// Tests that enabling swiftly results in swiftlyBinDir being populated with symlinks.
8- @Test func testLink( ) async throws {
8+ @Test ( . testHomeMockedToolchain ( ) ) func testLink( ) async throws {
99 try await SwiftlyTests . withTestHome {
1010 let swiftlyBinDir = Swiftly . currentPlatform. swiftlyBinDir ( SwiftlyTests . ctx)
1111 let swiftlyBinaryPath = swiftlyBinDir / " swiftly "
@@ -20,7 +20,7 @@ import Testing
2020 try " swiftly binary " . write ( to: swiftlyBinaryPath, atomically: true , encoding: . utf8)
2121
2222 let toolchainDir = Swiftly . currentPlatform. findToolchainLocation ( SwiftlyTests . ctx, toolchainVersion) / " usr " / " bin "
23- try await fs. mkdir ( [ . parents] , atPath: toolchainDir)
23+ try await fs. mkdir ( . parents, atPath: toolchainDir)
2424
2525 let proxies = [ " swift-build " , " swift-test " , " swift-run " ]
2626 for proxy in proxies {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Testing
55
66@Suite struct UnlinkTests {
77 /// Tests that disabling swiftly results in swiftlyBinDir with no symlinks to toolchain binaries in it.
8- @Test func testUnlink( ) async throws {
8+ @Test ( . testHomeMockedToolchain ( ) ) func testUnlink( ) async throws {
99 try await SwiftlyTests . withTestHome {
1010 let swiftlyBinDir = Swiftly . currentPlatform. swiftlyBinDir ( SwiftlyTests . ctx)
1111 let swiftlyBinaryPath = swiftlyBinDir / " swiftly "
You can’t perform that action at this time.
0 commit comments