File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -482,10 +482,10 @@ pub fn execute_test_suite(
482
482
( e, res)
483
483
} ;
484
484
485
- // Print only once or
486
- // if we are already in trace mode, just return error
485
+ // Print only once or if we are already in trace mode, just return error
486
+ // If trace is true that print_json_outcome will be also true.
487
487
static FAILED : AtomicBool = AtomicBool :: new ( false ) ;
488
- if trace || FAILED . swap ( true , Ordering :: SeqCst ) {
488
+ if print_json_outcome || FAILED . swap ( true , Ordering :: SeqCst ) {
489
489
return Err ( TestError {
490
490
name : name. clone ( ) ,
491
491
path : path. clone ( ) ,
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ use clap::Parser;
2
2
use revme:: cmd:: { Error , MainCmd } ;
3
3
4
4
fn main ( ) -> Result < ( ) , Error > {
5
- MainCmd :: parse ( ) . run ( ) . inspect_err ( |e| eprintln ! ( "{e:?}" ) )
5
+ MainCmd :: parse ( ) . run ( ) . inspect_err ( |e| println ! ( "{e:?}" ) )
6
6
}
You can’t perform that action at this time.
0 commit comments