Skip to content

Commit a3b0cc7

Browse files
committed
try fix
1 parent ad900ad commit a3b0cc7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1498,15 +1498,14 @@ mod tests {
14981498
let ext = compression::file_extension_for(*alg);
14991499

15001500
let json_prefix = format!("rustdoc-json/{crate_}/{version}/{target}/");
1501-
let mut json_files: Vec<_> = dbg!(
1502-
storage
1503-
.list_prefix(&json_prefix)
1504-
.filter_map(|res| res.ok())
1505-
.map(|f| f.strip_prefix(&json_prefix).unwrap().to_owned())
1506-
.collect()
1507-
);
1501+
let mut json_files: Vec<_> = storage
1502+
.list_prefix(&json_prefix)
1503+
.filter_map(|res| res.ok())
1504+
.map(|f| f.strip_prefix(&json_prefix).unwrap().to_owned())
1505+
.collect();
15081506
json_files.retain(|f| f.ends_with(&format!(".json.{ext}")));
15091507
json_files.sort();
1508+
dbg!(&json_files);
15101509
assert!(
15111510
json_files[0].starts_with(&format!("empty-library_1.0.0_{target}_"))
15121511
);

0 commit comments

Comments
 (0)