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 authored and weihanglo committed Aug 7, 2024
1 parent c3d72bd commit eb4920f
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 @@ -820,7 +820,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 eb4920f

Please sign in to comment.