Skip to content

Commit d9d11c4

Browse files
committed
Revert "Reproduce #14076"
This reverts commit 18f4c3f.
1 parent 3c473b5 commit d9d11c4

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

tests/testsuite/check_cfg.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,9 +633,7 @@ fn config_invalid_empty() {
633633

634634
p.cargo("check")
635635
.with_status(101)
636-
.with_stderr_contains(
637-
"[..]missing field `level`[..] THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T",
638-
)
636+
.with_stderr_contains("[..]missing field `level`[..]")
639637
.run();
640638
}
641639

tests/testsuite/freshness.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,9 +2937,6 @@ fn use_mtime_cache_in_cargo_home() {
29372937
.with_stderr(
29382938
"\
29392939
[DIRTY] foo v0.5.0 ([CWD]): [..]
2940-
2941-
THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T
2942-
29432940
[CHECKING] foo v0.5.0 ([CWD])
29442941
[RUNNING] `rustc --crate-name foo --edition=2015 src/lib.rs [..]",
29452942
)

tests/testsuite/help.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ fn help_alias() {
148148
cargo_process("help empty-alias")
149149
.env("PATH", Path::new(""))
150150
.with_status(101)
151-
.with_stderr_contains("THIS RANDOM SENTENCE SHOULD FAIL THIS TEST BUT DIDN'T [..] The subcommand 'empty-alias' wasn't recognized [..]",
152-
)
151+
.with_stderr_contains("[..]The subcommand 'empty-alias' wasn't recognized[..]")
153152
.run();
154153

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

0 commit comments

Comments
 (0)