Skip to content

Commit

Permalink
Fix regression since rust-lang#14060 is now resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
choznerol committed Jun 15, 2024
1 parent e6c3692 commit aa2fee8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions tests/testsuite/freshness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2934,11 +2934,6 @@ fn use_mtime_cache_in_cargo_home() {
p.cargo("check -v")
.env("CARGO_HOME", &cargo_home)
.with_status(101)
.with_stderr(
"\
[DIRTY] foo v0.5.0 ([CWD]): [..]
[CHECKING] foo v0.5.0 ([CWD])
[RUNNING] `rustc --crate-name foo --edition=2015 src/lib.rs [..]",
)
.with_stderr_contains("[..]illegal syntax[..]")
.run();
}
2 changes: 1 addition & 1 deletion tests/testsuite/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fn help_alias() {
cargo_process("help empty-alias")
.env("PATH", Path::new(""))
.with_status(101)
.with_stderr_contains("[..]The subcommand 'empty-alias' wasn't recognized[..]")
.with_stderr_contains("[..]no such command: `empty-alias`[..]")
.run();

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

0 comments on commit aa2fee8

Please sign in to comment.