fix previously undetected clippy warning
This commit is contained in:
parent
cd2895a168
commit
49990d2530
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user