Skip to content

Commit

Permalink
Change tests to support rustc wording changes
Browse files Browse the repository at this point in the history
Between rust-lang/rust#126810 and rust-lang/rust#126810 the output of rustc for resolution errors is going to change in such a way that some existing cargo tests will fail. Change them to support both the current and future output, so that those PRs can land in `rustc`.
  • Loading branch information
estebank committed Aug 1, 2024
1 parent 354f9b2 commit 830db6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -819,7 +819,7 @@ fn short_message_format() {
.with_status(101)
.with_stderr_data(str![[r#"
[CHECKING] foo v0.0.1 ([ROOT]/foo)
src/lib.rs:1:27: error[E0308]: mismatched types
src/lib.rs:1:27: error[E0308]: mismatched types[..]
[ERROR] could not compile `foo` (lib) due to 1 previous error
"#]])
Expand Down

0 comments on commit 830db6f

Please sign in to comment.