Skip to content

Commit 7ec86a1

Browse files
committed
un-ignore test: proc_macro_in_artifact_dep with a network error
1 parent 9abcaef commit 7ec86a1

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/testsuite/artifact_dep.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1777,9 +1777,7 @@ perhaps a crate was updated and forgotten to be re-vendored?
17771777
.run();
17781778
}
17791779

1780-
// FIXME: `download_accessible` should work properly for artifact dependencies
17811780
#[cargo_test]
1782-
#[ignore = "broken, needs download_accessible fix"]
17831781
fn proc_macro_in_artifact_dep() {
17841782
// Forcing FeatureResolver to check a proc-macro for a dependency behind a
17851783
// target dependency.
@@ -1829,7 +1827,18 @@ fn proc_macro_in_artifact_dep() {
18291827

18301828
p.cargo("check -Z bindeps")
18311829
.masquerade_as_nightly_cargo(&["bindeps"])
1832-
.with_stderr_data(str![[r#""#]])
1830+
.with_stderr_data(str![[r#"
1831+
[UPDATING] `dummy-registry` index
1832+
[LOCKING] 2 packages to latest compatible versions
1833+
[DOWNLOADING] crates ...
1834+
[DOWNLOADED] bin-uses-pm v1.0.0 (registry `dummy-registry`)
1835+
[DOWNLOADING] crates ...
1836+
thread 'main' panicked at src/cargo/core/compiler/unit_dependencies.rs:1035:33:
1837+
expected pm v1.0.0 to be downloaded
1838+
[NOTE] run with `RUST_BACKTRACE=1` environment variable to display a backtrace
1839+
1840+
"#]])
1841+
.with_status(101)
18331842
.run();
18341843
}
18351844

0 commit comments

Comments
 (0)