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 {
241241 parent_process_id : 1 ,
242242 name : "1" . to_string ( ) ,
243243 } ;
244- assert_eq ! ( child_process_id_map_filter( & process_info) , true ) ;
244+ assert ! ( child_process_id_map_filter( & process_info) ) ;
245245 }
246246
247247 #[ test]
@@ -251,7 +251,7 @@ mod tests {
251251 parent_process_id : 0 ,
252252 name : "1" . to_string ( ) ,
253253 } ;
254- assert_eq ! ( child_process_id_map_filter( & process_info) , false ) ;
254+ assert ! ( ! child_process_id_map_filter( & process_info) ) ;
255255 }
256256
257257 #[ test]
@@ -271,7 +271,7 @@ mod tests {
271271 _ => panic ! ( "Unexpected source: {source:?}" , ) ,
272272 }
273273 }
274- _ => panic ! ( "Unexpected result: {result:?}" , ) ,
274+ KillOutput :: Killed { process_id } => panic ! ( "Unexpected result: {process_id}" ) ,
275275 }
276276 }
277277
You can’t perform that action at this time.
0 commit comments