projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a410491
)
tests(help): Fix assertion by using the full line text
author
Klaus Purer
<klaus.purer@gmail.com>
Sat, 31 Mar 2018 09:33:14 +0000
(11:33 +0200)
committer
Klaus Purer
<klaus.purer@gmail.com>
Sat, 31 Mar 2018 09:33:14 +0000
(11:33 +0200)
tests/testsuite/cargo_command.rs
patch
|
blob
|
history
diff --git
a/tests/testsuite/cargo_command.rs
b/tests/testsuite/cargo_command.rs
index eecf74a8457725bc33ad5f9c38a5038b71b279ff..d5ea78fa923126e3164158716bf984c5f5c6e84c 100644
(file)
--- a/
tests/testsuite/cargo_command.rs
+++ b/
tests/testsuite/cargo_command.rs
@@
-338,8
+338,8
@@
fn explain() {
fn z_flags_help() {
assert_that(
cargo_process().arg("-Z").arg("help"),
- execs()
- .with_status(0)
-
.with_stdout_contains("-Z unstable-options"
),
+ execs()
.with_status(0).with_stdout_contains(
+ " -Z unstable-options -- Allow the usage of unstable options such as --registry",
+ ),
);
}