test: Fix clippy lint

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
pull/379/head
Dave Tucker 2 years ago
parent 18584e2259
commit 8305ee1eca

@ -61,7 +61,7 @@ fn multiple_btf_maps() -> anyhow::Result<()> {
}
fn is_loaded() -> bool {
let output = Command::new("bpftool").args(&["prog"]).output().unwrap();
let output = Command::new("bpftool").args(["prog"]).output().unwrap();
let stdout = String::from_utf8(output.stdout).unwrap();
stdout.contains("test_unload")
}

Loading…
Cancel
Save