Skip to content

Commit 165cf7c

Browse files
committed
un-ignore test: proc_macro_in_artifact_dep with a network error"
1 parent 9abcaef commit 165cf7c

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.
@@ -1795,6 +1793,7 @@ fn proc_macro_in_artifact_dep() {
17951793
name = "pm"
17961794
version = "1.0.0"
17971795
edition = "2015"
1796+
resolver = "2"
17981797
17991798
[lib]
18001799
proc-macro = true
@@ -1829,7 +1828,17 @@ fn proc_macro_in_artifact_dep() {
18291828

18301829
p.cargo("check -Z bindeps")
18311830
.masquerade_as_nightly_cargo(&["bindeps"])
1832-
.with_stderr_data(str![[r#""#]])
1831+
.with_stderr_data(str![[r#"
1832+
[UPDATING] `dummy-registry` index
1833+
[LOCKING] 2 packages to latest compatible versions
1834+
[DOWNLOADING] crates ...
1835+
[ERROR] failed to download from `[ROOTURL]/dl/pm/1.0.0/download`
1836+
1837+
Caused by:
1838+
[37] Could not read a file:// file (Couldn't open file [ROOT]/dl/pm/1.0.0/download)
1839+
1840+
"#]])
1841+
.with_status(101)
18331842
.run();
18341843
}
18351844

0 commit comments

Comments
 (0)