Skip to content

Commit

Permalink
Fix hard-coded stderr in run-make test
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Sep 23, 2024
1 parent 3be34a8 commit 9132770
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/run-make/crate-loading/rmake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ note: there are multiple different versions of crate `dependency` in the depende
5 | fn foo(&self);
| -------------- the method is available for `dep_2_reexport::Type` here
|
::: multiple-dep-versions.rs:4:32
::: multiple-dep-versions.rs:4:18
|
4 | use dependency::{do_something, Trait};
| ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"#,
4 | use dependency::{Trait, do_something};
| ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"#,
)
.assert_stderr_contains(
r#"
Expand All @@ -92,9 +92,9 @@ note: there are multiple different versions of crate `dependency` in the depende
6 | fn bar();
| --------- the associated function is available for `dep_2_reexport::Type` here
|
::: multiple-dep-versions.rs:4:32
::: multiple-dep-versions.rs:4:18
|
4 | use dependency::{do_something, Trait};
| ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"#,
4 | use dependency::{Trait, do_something};
| ----- `Trait` imported here doesn't correspond to the right version of crate `dependency`"#,
);
}

0 comments on commit 9132770

Please sign in to comment.