@@ -22,23 +22,23 @@ final class PlatformTests: SwiftlyTests {
2222 // GIVEN: a toolchain has been downloaded
2323 var ( mockedToolchainFile, version) = try await self . mockToolchainDownload ( version: " 5.7.1 " )
2424 // WHEN: the platform installs the toolchain
25- try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version)
25+ try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version, verbose : true )
2626 // THEN: the toolchain is extracted in the toolchains directory
2727 var toolchains = try FileManager . default. contentsOfDirectory ( at: Swiftly . currentPlatform. swiftlyToolchainsDir, includingPropertiesForKeys: nil )
2828 XCTAssertEqual ( 1 , toolchains. count)
2929
3030 // GIVEN: a second toolchain has been downloaded
3131 ( mockedToolchainFile, version) = try await self . mockToolchainDownload ( version: " 5.8.0 " )
3232 // WHEN: the platform installs the toolchain
33- try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version)
33+ try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version, verbose : true )
3434 // THEN: the toolchain is added to the toolchains directory
3535 toolchains = try FileManager . default. contentsOfDirectory ( at: Swiftly . currentPlatform. swiftlyToolchainsDir, includingPropertiesForKeys: nil )
3636 XCTAssertEqual ( 2 , toolchains. count)
3737
3838 // GIVEN: an identical toolchain has been downloaded
3939 ( mockedToolchainFile, version) = try await self . mockToolchainDownload ( version: " 5.8.0 " )
4040 // WHEN: the platform installs the toolchain
41- try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version)
41+ try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version, verbose : true )
4242 // THEN: the toolchains directory remains the same
4343 toolchains = try FileManager . default. contentsOfDirectory ( at: Swiftly . currentPlatform. swiftlyToolchainsDir, includingPropertiesForKeys: nil )
4444 XCTAssertEqual ( 2 , toolchains. count)
@@ -49,9 +49,9 @@ final class PlatformTests: SwiftlyTests {
4949 try await self . rollbackLocalChanges {
5050 // GIVEN: toolchains have been downloaded, and installed
5151 var ( mockedToolchainFile, version) = try await self . mockToolchainDownload ( version: " 5.8.0 " )
52- try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version)
52+ try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version, verbose : true )
5353 ( mockedToolchainFile, version) = try await self . mockToolchainDownload ( version: " 5.6.3 " )
54- try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version)
54+ try Swiftly . currentPlatform. install ( from: mockedToolchainFile, version: version, verbose : true )
5555 // WHEN: one of the toolchains is uninstalled
5656 try Swiftly . currentPlatform. uninstall ( version)
5757 // THEN: there is only one remaining toolchain installed
0 commit comments