Skip to content

Commit 3aae437

Browse files
committed
change expected stderr
1 parent 7a4a594 commit 3aae437

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/testsuite/artifact_dep.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,8 +2904,10 @@ fn check_transitive_artifact_dependency_with_different_target() {
29042904
p.cargo("check -Z bindeps")
29052905
.masquerade_as_nightly_cargo(&["bindeps"])
29062906
.with_stderr_contains(
2907-
"error: could not find specification for target `custom-target`.\n \
2908-
Dependency `baz v0.0.0 [..]` requires to build for target `custom-target`.",
2907+
"error: failed to run `rustc` to learn about target-specific information",
2908+
).with_stderr_contains(
2909+
"[..] error: Error loading target specification: Could not find specification for \
2910+
target \"custom-target\". [..]"
29092911
)
29102912
.with_status(101)
29112913
.run();

0 commit comments

Comments
 (0)