Skip to content

Commit

Permalink
change expected stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
fee1-dead committed Jun 6, 2023
1 parent 42ef164 commit e4ce6b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/testsuite/artifact_dep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2904,8 +2904,10 @@ fn check_transitive_artifact_dependency_with_different_target() {
p.cargo("check -Z bindeps")
.masquerade_as_nightly_cargo(&["bindeps"])
.with_stderr_contains(
"error: could not find specification for target `custom-target`.\n \
Dependency `baz v0.0.0 [..]` requires to build for target `custom-target`.",
"error: failed to run `rustc` to learn about target-specific information",
).with_stderr_contains(
"[..] error: Error loading target specification: Could not find specification for \
target \"custom-target\". [..]"
)
.with_status(101)
.run();
Expand Down

0 comments on commit e4ce6b8

Please sign in to comment.