File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/libs/kill_tree/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ mod tests {
241
241
parent_process_id : 1 ,
242
242
name : "1" . to_string ( ) ,
243
243
} ;
244
- assert_eq ! ( child_process_id_map_filter( & process_info) , true ) ;
244
+ assert ! ( child_process_id_map_filter( & process_info) ) ;
245
245
}
246
246
247
247
#[ test]
@@ -251,7 +251,7 @@ mod tests {
251
251
parent_process_id : 0 ,
252
252
name : "1" . to_string ( ) ,
253
253
} ;
254
- assert_eq ! ( child_process_id_map_filter( & process_info) , false ) ;
254
+ assert ! ( ! child_process_id_map_filter( & process_info) ) ;
255
255
}
256
256
257
257
#[ test]
@@ -271,7 +271,7 @@ mod tests {
271
271
_ => panic ! ( "Unexpected source: {source:?}" , ) ,
272
272
}
273
273
}
274
- _ => panic ! ( "Unexpected result: {result:?}" , ) ,
274
+ KillOutput :: Killed { process_id } => panic ! ( "Unexpected result: {process_id}" ) ,
275
275
}
276
276
}
277
277
You can’t perform that action at this time.
0 commit comments