Disable `cargo help -h`
authorAleksey Kladov <aleksey.kladov@gmail.com>
Thu, 8 Mar 2018 19:35:42 +0000 (22:35 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Thu, 8 Mar 2018 20:31:56 +0000 (23:31 +0300)
tests/testsuite/cargo_command.rs

index 59c5c5d2467966c6ea6cb2df1307743cfe74c4d5..b211d26994039b7a99b3ab43e5c3b99bdf8e13f2 100644 (file)
@@ -196,7 +196,6 @@ fn cargo_subcommand_env() {
 }
 
 #[test]
-#[ignore]
 fn cargo_help() {
     assert_that(cargo_process(),
                 execs().with_status(0));
@@ -208,8 +207,6 @@ fn cargo_help() {
                 execs().with_status(0));
     assert_that(cargo_process().arg("build").arg("-h"),
                 execs().with_status(0));
-    assert_that(cargo_process().arg("help").arg("-h"),
-                execs().with_status(0));
     assert_that(cargo_process().arg("help").arg("help"),
                 execs().with_status(0));
 }