File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
crates/cargo-test-support/src Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -908,6 +908,7 @@ impl Execs {
908
908
}
909
909
}
910
910
911
+ #[ track_caller]
911
912
fn verify_checks_output ( & self , stdout : & [ u8 ] , stderr : & [ u8 ] ) {
912
913
if self . expect_exit_code . unwrap_or ( 0 ) != 0
913
914
&& self . expect_stdout . is_none ( )
@@ -934,6 +935,7 @@ impl Execs {
934
935
}
935
936
}
936
937
938
+ #[ track_caller]
937
939
fn match_process ( & self , process : & ProcessBuilder ) -> Result < RawOutput > {
938
940
println ! ( "running {}" , process) ;
939
941
let res = if self . stream_output {
@@ -984,6 +986,7 @@ impl Execs {
984
986
}
985
987
}
986
988
989
+ #[ track_caller]
987
990
fn match_output ( & self , code : Option < i32 > , stdout : & [ u8 ] , stderr : & [ u8 ] ) -> Result < ( ) > {
988
991
self . verify_checks_output ( stdout, stderr) ;
989
992
let stdout = std:: str:: from_utf8 ( stdout) . expect ( "stdout is not utf8" ) ;
You can’t perform that action at this time.
0 commit comments