Skip to content

Commit

Permalink
Revert "Reproduce rust-lang#14060"
Browse files Browse the repository at this point in the history
This reverts commit 18f4c3f.
  • Loading branch information
choznerol committed Jun 15, 2024
1 parent 0a20aab commit e6c3692
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions tests/testsuite/check_cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -633,9 +633,7 @@ fn config_invalid_empty() {

p.cargo("check")
.with_status(101)
.with_stderr_contains(
"[..]missing field `level`[..] THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T",
)
.with_stderr_contains("[..]missing field `level`[..]")
.run();
}

Expand Down
3 changes: 0 additions & 3 deletions tests/testsuite/freshness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2937,9 +2937,6 @@ fn use_mtime_cache_in_cargo_home() {
.with_stderr(
"\
[DIRTY] foo v0.5.0 ([CWD]): [..]
THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T
[CHECKING] foo v0.5.0 ([CWD])
[RUNNING] `rustc --crate-name foo --edition=2015 src/lib.rs [..]",
)
Expand Down
3 changes: 1 addition & 2 deletions tests/testsuite/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ fn help_alias() {
cargo_process("help empty-alias")
.env("PATH", Path::new(""))
.with_status(101)
.with_stderr_contains("THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T [..] The subcommand 'empty-alias' wasn't recognized [..]",
)
.with_stderr_contains("[..]The subcommand 'empty-alias' wasn't recognized[..]")
.run();

// Because `simple-alias` aliases a subcommand with no arguments, help shows the manpage.
Expand Down

0 comments on commit e6c3692

Please sign in to comment.