Skip to content

Conversation

@johnbute
Copy link
Contributor

@johnbute johnbute commented Nov 6, 2025

Fixes #457

@cmcgee1024 cmcgee1024 merged commit 4fab0c0 into swiftlang:main Nov 6, 2025
19 checks passed
/// Tests the version functionality of the `run` command
@Test(.testHomeMockedToolchain()) func runVersion() async throws {
// Test --version is handled correctly
do {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: in future you can do this more cleanly with #expect(throws:) https://developer.apple.com/documentation/testing/expect(throws:_:sourcelocation:performing:)-1hfms

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.

swiftly run --version does not work despite being documented in the help documentation

3 participants