mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
tests(help): Fix assertion by using the full line text
This commit is contained in:
parent
a4104914ea
commit
9af095adab
@ -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",
|
||||
),
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user