Skip to content

Commit

Permalink
test: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
oneofthezombies committed Feb 12, 2024
1 parent 56344e3 commit 868f415
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/libs/kill_tree/tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 868f415

Please sign in to comment.