We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e777d4b commit 42eb6c7Copy full SHA for 42eb6c7
src/docbuilder/rustwide_builder.rs
@@ -1432,6 +1432,23 @@ mod tests {
1432
RustdocJsonFormatVersion::Latest
1433
))?);
1434
1435
+ let json_prefix = format!("rustdoc-json/{crate_}/{version}/{target}/");
1436
+ let json_files: Vec<_> = storage
1437
+ .list_prefix(&json_prefix)
1438
+ .filter_map(|res| res.ok())
1439
+ .collect();
1440
+ dbg!(&json_files);
1441
+ assert_eq!(
1442
+ json_files
1443
+ .into_iter()
1444
+ .map(|f| f.strip_prefix(&json_prefix).unwrap().to_owned())
1445
+ .collect::<Vec<_>>(),
1446
+ vec![
1447
+ "empty-library_1.0.0_i686-pc-windows-msvc_45.json.zst".to_string(),
1448
+ "empty-library_1.0.0_i686-pc-windows-msvc_latest.json.zst".to_string(),
1449
+ ]
1450
+ );
1451
+
1452
if target == &default_target {
1453
continue;
1454
}
0 commit comments