Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
fix previously undetected clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Mar 11, 2024
1 parent dd0e30b commit 0f8b80f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/dns-test/src/container/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,7 @@ mod tests {
let output = command.output().expect("Failed to get output");
let stdout = String::from_utf8_lossy(&output.stdout);

stdout
.trim()
.lines()
.find(|line| line == &network_name)
.is_some()
stdout.trim().lines().any(|line| line == network_name)
}

#[test]
Expand Down

0 comments on commit 0f8b80f

Please sign in to comment.