File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments