fix previously undetected clippy warning

This commit is contained in:
Jorge Aparicio 2024-03-11 17:45:34 +01:00
parent cd2895a168
commit 49990d2530

View File

@ -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]