Skip to content

Commit db5be49

Browse files
estebankweihanglo
authored andcommitted
Change tests to support rustc wording changes
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`.
1 parent f1c38b3 commit db5be49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/check.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ fn short_message_format() {
820820
.with_status(101)
821821
.with_stderr_data(str![[r#"
822822
[CHECKING] foo v0.0.1 ([ROOT]/foo)
823-
src/lib.rs:1:27: error[E0308]: mismatched types
823+
src/lib.rs:1:27: error[E0308]: mismatched types[..]
824824
[ERROR] could not compile `foo` (lib) due to 1 previous error
825825
826826
"#]])

0 commit comments

Comments
 (0)