projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d4e5c
)
Disable `cargo help -h`
author
Aleksey Kladov
<aleksey.kladov@gmail.com>
Thu, 8 Mar 2018 19:35:42 +0000
(22:35 +0300)
committer
Aleksey Kladov
<aleksey.kladov@gmail.com>
Thu, 8 Mar 2018 20:31:56 +0000
(23:31 +0300)
tests/testsuite/cargo_command.rs
patch
|
blob
|
history
diff --git
a/tests/testsuite/cargo_command.rs
b/tests/testsuite/cargo_command.rs
index 59c5c5d2467966c6ea6cb2df1307743cfe74c4d5..b211d26994039b7a99b3ab43e5c3b99bdf8e13f2 100644
(file)
--- a/
tests/testsuite/cargo_command.rs
+++ b/
tests/testsuite/cargo_command.rs
@@
-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));
}