Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove trailing slashes in toolchain name #2897

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

sathwikmatsa
Copy link
Contributor

This PR fixes #2873

Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

There's a commit which needs removing; also also we need a test to demonstrate the issue and then demonstrate it is resolved by this patch. If you need some inspiration, check out cli-v2.rs which should have plenty of example tests you can crib from.

Thank you for your effort.

tests/mock/clitools.rs Outdated Show resolved Hide resolved
Copy link
Member

@Rustin170506 Rustin170506 left a comment

Choose a reason for hiding this comment

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

LGTM. But could you please squash your commits?

ok clippy

Revert "ok clippy"

This reverts commit 7315538.

add test for normalized toolchain name
Copy link
Contributor

@kinnison kinnison left a comment

Choose a reason for hiding this comment

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

This looks good, sorry for the delay

@kinnison kinnison merged commit 6c33197 into rust-lang:master Dec 2, 2021
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.

Issues with rustup toolchain uninstall <toolchain>/ with trailing slash
3 participants