diff --git a/crates/libs/kill_tree/tests/test.rs b/crates/libs/kill_tree/tests/test.rs index 8524c66..3e11607 100644 --- a/crates/libs/kill_tree/tests/test.rs +++ b/crates/libs/kill_tree/tests/test.rs @@ -43,7 +43,7 @@ fn kill_tree_default() { }); let target_process_id = rx.recv().unwrap(); let outputs = kill_tree::blocking::kill_tree(target_process_id).expect("Failed to kill"); - println!("{:?}", outputs); + println!("{outputs:?}"); assert_eq!(outputs.len(), 1); let output = &outputs[0]; match output { @@ -86,7 +86,7 @@ fn kill_tree_with_config_sigkill() { }; let outputs = kill_tree::blocking::kill_tree_with_config(target_process_id, &config) .expect("Failed to kill"); - println!("{:?}", outputs); + println!("{outputs:?}"); assert_eq!(outputs.len(), 1); let output = &outputs[0]; match output { @@ -128,7 +128,7 @@ fn kill_tree_with_config_include_target_false() { }; let outputs = kill_tree::blocking::kill_tree_with_config(target_process_id, &config) .expect("Failed to kill"); - println!("{:?}", outputs); + println!("{outputs:?}"); assert!(!outputs.is_empty()); let output = &outputs[0]; match output { @@ -146,7 +146,7 @@ fn kill_tree_with_config_include_target_false() { } thread::sleep(Duration::from_secs(1)); let outputs = kill_tree::blocking::kill_tree(target_process_id).expect("Failed to kill"); - println!("{:?}", outputs); + println!("{outputs:?}"); assert_eq!(outputs.len(), 1); let output = &outputs[0]; match output {