File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -510,13 +510,15 @@ mod tests {
510510 fn test_get_threads_use_data ( ) {
511511 let path = "./tests/proc/process/valid" ;
512512 let pids = get_pid_list_from_path ( path_from_root ( path) . as_str ( ) ) ;
513- let threads_use_result = get_threads_use_data_from_path ( path_from_root ( path) . as_str ( ) , & pids) ;
513+ let threads_use_result =
514+ get_threads_use_data_from_path ( path_from_root ( path) . as_str ( ) , & pids) ;
514515 assert ! ( threads_use_result. is_ok( ) ) ;
515516 let threads_use = threads_use_result. unwrap ( ) ;
516517 assert ! ( ( threads_use - 5.0 ) . abs( ) < f64 :: EPSILON ) ;
517518
518519 let path = "./tests/proc/process/invalid_missing" ;
519- let threads_use_result = get_threads_use_data_from_path ( path_from_root ( path) . as_str ( ) , & pids) ;
520+ let threads_use_result =
521+ get_threads_use_data_from_path ( path_from_root ( path) . as_str ( ) , & pids) ;
520522 assert ! ( threads_use_result. is_err( ) ) ;
521523 }
522524}
You can’t perform that action at this time.
0 commit comments