File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -587,15 +587,17 @@ fn with_session_id() {
587587
588588 let _ = paths:: log_file ( 1 ) ;
589589
590- p. cargo ( & format ! ( "report rebuilds --id {first_session_id} -Zbuild-analysis" ) )
591- . masquerade_as_nightly_cargo ( & [ "build-analysis" ] )
592- . with_stderr_data ( str![ [ r#"
590+ p. cargo ( & format ! (
591+ "report rebuilds --id {first_session_id} -Zbuild-analysis"
592+ ) )
593+ . masquerade_as_nightly_cargo ( & [ "build-analysis" ] )
594+ . with_stderr_data ( str![ [ r#"
593595Session: [..]
594596Status: 0 units rebuilt, 0 cached, 1 new
595597
596598
597599"# ] ] )
598- . run ( ) ;
600+ . run ( ) ;
599601}
600602
601603#[ cargo_test]
Original file line number Diff line number Diff line change @@ -369,13 +369,15 @@ fn with_session_id() {
369369
370370 let _ = paths:: log_file ( 1 ) ;
371371
372- p. cargo ( & format ! ( "report timings --id {first_session_id} -Zbuild-analysis" ) )
373- . masquerade_as_nightly_cargo ( & [ "build-analysis" ] )
374- . with_stderr_data ( str![ [ r#"
372+ p. cargo ( & format ! (
373+ "report timings --id {first_session_id} -Zbuild-analysis"
374+ ) )
375+ . masquerade_as_nightly_cargo ( & [ "build-analysis" ] )
376+ . with_stderr_data ( str![ [ r#"
375377 Timing report saved to [ROOT]/foo/target/cargo-timings/cargo-timing-[..]T[..]Z-[..].html
376378
377379"# ] ] )
378- . run ( ) ;
380+ . run ( ) ;
379381
380382 let timing_files: Vec < _ > = p. glob ( "**/cargo-timing-*.html" ) . collect ( ) ;
381383 assert_eq ! ( timing_files. len( ) , 1 ) ;
You can’t perform that action at this time.
0 commit comments