@@ -1724,9 +1724,9 @@ mod tests {
17241724        } ) ; 
17251725    } 
17261726
1727+     #[ test_case( "thiserror-impl" ,  "1.0.26" ) ]  
17271728    #[ test_case( "scsys-macros" ,  "0.2.6" ) ]  
17281729    #[ test_case( "scsys-derive" ,  "0.2.6" ) ]  
1729-     #[ test_case( "thiserror-impl" ,  "1.0.26" ) ]  
17301730    #[ ignore]  
17311731    fn  test_proc_macro ( crate_ :  & str ,  version :  & str )  { 
17321732        wrapper ( |env| { 
@@ -1748,6 +1748,31 @@ mod tests {
17481748            let  source_archive = source_archive_path ( crate_,  version) ; 
17491749            assert ! ( storage. exists( & source_archive) ?) ; 
17501750
1751+             let  path = rustdoc_json_path ( 
1752+                 crate_, 
1753+                 version, 
1754+                 HOST_TARGET , 
1755+                 RustdocJsonFormatVersion :: Latest , 
1756+             ) ; 
1757+             assert ! ( storage. exists( & path) ?) ; 
1758+             assert ! ( storage. get_public_access( & path) ?) ; 
1759+ 
1760+             let  json_prefix = format ! ( "rustdoc-json/{crate_}/{version}/{}/" ,  HOST_TARGET ) ; 
1761+             let  mut  json_files:  Vec < _ >  = storage
1762+                 . list_prefix ( & json_prefix) 
1763+                 . filter_map ( |res| res. ok ( ) ) 
1764+                 . map ( |f| f. strip_prefix ( & json_prefix) . unwrap ( ) . to_owned ( ) ) 
1765+                 . collect ( ) ; 
1766+             json_files. sort ( ) ; 
1767+             dbg ! ( & json_files) ; 
1768+             assert_eq ! ( 
1769+                 json_files, 
1770+                 vec![ 
1771+                     format!( "{crate_}_{version}_{HOST_TARGET}_45.json.zst" ) , 
1772+                     format!( "{crate_}_{version}_{HOST_TARGET}_latest.json.zst" ) , 
1773+                 ] 
1774+             ) ; 
1775+ 
17511776            Ok ( ( ) ) 
17521777        } ) ; 
17531778    } 
0 commit comments