Skip to content

Commit

Permalink
Dedup with cargo::z_help::case (#14060 (comment))
Browse files Browse the repository at this point in the history
# Conflicts:
#	tests/testsuite/help.rs
  • Loading branch information
choznerol committed Jun 15, 2024
1 parent 3a95c78 commit 3fd3879
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/testsuite/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,18 +155,3 @@ fn help_alias() {
let out = help_with_stdout_and_path("complex-alias", Path::new(""));
assert_eq!(out, "`complex-alias` is aliased to `build --release`\n");
}

#[cargo_test]
fn alias_z_flag_help() {
for cmd in ["build", "run", "check", "test", "b", "r", "c", "t"] {
cargo_process(&format!("{cmd} -Z help"))
.with_stdout_data(
"\
...
-Z allow-features[..] Allow *only* the listed unstable features
...
",
)
.run();
}
}

0 comments on commit 3fd3879

Please sign in to comment.