Skip to content

Commit c8f8ae2

Browse files
committed
test: add no capture for name log
1 parent 34dd984 commit c8f8ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/libs/kill_tree/tests/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fn kill_tree_default() {
5050
} => {
5151
assert_eq!(*process_id, target_process_id);
5252
assert_eq!(*parent_process_id, std::process::id());
53-
println!("name: {}", name);
53+
println!("name: {name}");
5454
assert!(name.starts_with("node"));
5555
}
5656
kill_tree::Output::MaybeAlreadyTerminated { .. } => {

0 commit comments

Comments
 (0)