Skip to content

Commit

Permalink
change test to expect stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
elchukc committed Sep 30, 2024
1 parent 6cb5b3c commit 3a7edc2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tests/testsuite/artifact_dep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1568,15 +1568,14 @@ fn artifact_dep_target_specified() {
.with_status(0)
.run();

// TODO: This command currently fails due to a bug in cargo but it should be fixed so that it succeeds in the future.
p.cargo("tree -Z bindeps")
.masquerade_as_nightly_cargo(&["bindeps"])
.with_stdout_data("")
.with_stderr_data(r#"...
[..]activated_features for invalid package: features did not find PackageId { name: "bindep", version: "0.0.0", source: "[..]" } NormalOrDev[..]
...
"#)
.with_status(101)
.with_stdout_data(str![[r#"
foo v0.0.0 ([ROOT]/foo)
└── bindep v0.0.0 ([ROOT]/foo/bindep)
"#]])
.with_status(0)
.run();
}

Expand Down

0 comments on commit 3a7edc2

Please sign in to comment.