Skip to content

Commit 868f415

Browse files
committed
test: fix clippy
1 parent 56344e3 commit 868f415

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/libs/kill_tree/tests/test.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn kill_tree_default() {
4343
});
4444
let target_process_id = rx.recv().unwrap();
4545
let outputs = kill_tree::blocking::kill_tree(target_process_id).expect("Failed to kill");
46-
println!("{:?}", outputs);
46+
println!("{outputs:?}");
4747
assert_eq!(outputs.len(), 1);
4848
let output = &outputs[0];
4949
match output {
@@ -86,7 +86,7 @@ fn kill_tree_with_config_sigkill() {
8686
};
8787
let outputs = kill_tree::blocking::kill_tree_with_config(target_process_id, &config)
8888
.expect("Failed to kill");
89-
println!("{:?}", outputs);
89+
println!("{outputs:?}");
9090
assert_eq!(outputs.len(), 1);
9191
let output = &outputs[0];
9292
match output {
@@ -128,7 +128,7 @@ fn kill_tree_with_config_include_target_false() {
128128
};
129129
let outputs = kill_tree::blocking::kill_tree_with_config(target_process_id, &config)
130130
.expect("Failed to kill");
131-
println!("{:?}", outputs);
131+
println!("{outputs:?}");
132132
assert!(!outputs.is_empty());
133133
let output = &outputs[0];
134134
match output {
@@ -146,7 +146,7 @@ fn kill_tree_with_config_include_target_false() {
146146
}
147147
thread::sleep(Duration::from_secs(1));
148148
let outputs = kill_tree::blocking::kill_tree(target_process_id).expect("Failed to kill");
149-
println!("{:?}", outputs);
149+
println!("{outputs:?}");
150150
assert_eq!(outputs.len(), 1);
151151
let output = &outputs[0];
152152
match output {

0 commit comments

Comments
 (0)