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

Warn if complete profile is used #2138

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Warn if complete profile is used #2138

merged 1 commit into from
Nov 26, 2019

Commits on Nov 26, 2019

  1. Add warning if complete profile is used

    - A warning message will be printed if a toolchain is installed in the
    rustup and rustup-init binary
    - Add unit tests to test if the warning message appears in rustup mode
    and setup mode
    
    Add warning message if toolchain is installed with the complete profile
    
    Add unit tests for warning message
    
    - add unit tests to test if the warning message was printed
    - move the warning message string to src/cli/common.rs to centralize the
    string
    
    Change executable to rustup-init in test_warn_if_complete_profile_is_used
    
    Fix tests by changing the arguments to rustup-init -y --profile complete in test_warn_if_complete_profile
    
    Shorten check for the error message in test_warn_if_complete_profile_is_used
    Stupremee committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    22596e1 View commit details
    Browse the repository at this point in the history