File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Testing
5
5
6
6
@Suite struct LinkTests {
7
7
/// Tests that enabling swiftly results in swiftlyBinDir being populated with symlinks.
8
- @Test func testLink( ) async throws {
8
+ @Test ( . testHomeMockedToolchain ( ) ) func testLink( ) async throws {
9
9
try await SwiftlyTests . withTestHome {
10
10
let swiftlyBinDir = Swiftly . currentPlatform. swiftlyBinDir ( SwiftlyTests . ctx)
11
11
let swiftlyBinaryPath = swiftlyBinDir / " swiftly "
@@ -20,7 +20,7 @@ import Testing
20
20
try " swiftly binary " . write ( to: swiftlyBinaryPath, atomically: true , encoding: . utf8)
21
21
22
22
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)
24
24
25
25
let proxies = [ " swift-build " , " swift-test " , " swift-run " ]
26
26
for proxy in proxies {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Testing
5
5
6
6
@Suite struct UnlinkTests {
7
7
/// 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 {
9
9
try await SwiftlyTests . withTestHome {
10
10
let swiftlyBinDir = Swiftly . currentPlatform. swiftlyBinDir ( SwiftlyTests . ctx)
11
11
let swiftlyBinaryPath = swiftlyBinDir / " swiftly "
You can’t perform that action at this time.
0 commit comments