Skip to content

Commit

Permalink
Re-introduce a clippy allow in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
emabee committed Oct 15, 2024
1 parent 2c258ab commit 7bc6c91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_error_channel_error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ fn controller() {

fn parent(panic: bool) {
let progpath = std::env::args().next().unwrap();
// we don't want to wait here, and it's not an issue because this is not a long running program
#[allow(clippy::zombie_processes)]
// spawn child and terminate directly, thus destroying the child's stderr
Command::new(progpath)
.env(CTRL_INDEX, if panic { "child_panic" } else { "child" })
Expand Down

0 comments on commit 7bc6c91

Please sign in to comment.