We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
deprecated_interfaces()
1 parent 414dbd5 commit 9f33002Copy full SHA for 9f33002
tests/suite/cli_misc.rs
@@ -956,29 +956,3 @@ fn toolchain_link_then_list_verbose() {
956
config.expect_stdout_ok(&["rustup", "toolchain", "list", "-v"], "/custom-1");
957
});
958
}
959
-
960
-#[test]
961
-fn deprecated_interfaces() {
962
- setup(&|config| {
963
- // In verbose mode we want the deprecated interfaces to complain
964
- config.expect_ok_contains(
965
- &["rustup", "--verbose", "install", "nightly"],
966
- "",
967
- "Please use `rustup toolchain install` instead",
968
- );
969
970
- &["rustup", "--verbose", "uninstall", "nightly"],
971
972
- "Please use `rustup toolchain uninstall` instead",
973
974
- // But if not verbose then they should *NOT* complain
975
- config.expect_not_stderr_ok(
976
- &["rustup", "install", "nightly"],
977
978
979
980
- &["rustup", "uninstall", "nightly"],
981
982
983
- })
984
-}
0 commit comments