Skip to content

Commit 9f33002

Browse files
committed
test(cli): remove deprecated_interfaces()
1 parent 414dbd5 commit 9f33002

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

tests/suite/cli_misc.rs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -956,29 +956,3 @@ fn toolchain_link_then_list_verbose() {
956956
config.expect_stdout_ok(&["rustup", "toolchain", "list", "-v"], "/custom-1");
957957
});
958958
}
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-
config.expect_ok_contains(
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-
"Please use `rustup toolchain install` instead",
978-
);
979-
config.expect_not_stderr_ok(
980-
&["rustup", "uninstall", "nightly"],
981-
"Please use `rustup toolchain uninstall` instead",
982-
);
983-
})
984-
}

0 commit comments

Comments
 (0)