Skip to content

Conversation

@bkhouri
Copy link

@bkhouri bkhouri commented Nov 5, 2025

If a toolchain was already installed when running swiftly install --use, said toolchain was not being set to be used as a different code path was followed.

Update the code path to set the toolchain when --use is selected even if the toolchain is already installed.

If a toolchain was already installed when running `swiftly install --use`,
said toolchain was not being set to be used as a different code path was
followed.

Update the code path to set the toolchain when `--use` is selected even
if the toolchain is already installed.
try await SwiftlyTests.validateInUse(expected: .newStable)
}

/// Verify that the pre-installed toolchain will be marked as in-use if the --use flag is specified.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: is there a place to write a test lower in the test pyramid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant