Skip to content

Commit 3a7edc2

Browse files
committed
change test to expect stdout
1 parent 6cb5b3c commit 3a7edc2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/testsuite/artifact_dep.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1568,15 +1568,14 @@ fn artifact_dep_target_specified() {
15681568
.with_status(0)
15691569
.run();
15701570

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

0 commit comments

Comments
 (0)