From: Samuel Zeter Date: Wed, 21 May 2025 00:49:48 +0000 (+1000) Subject: tests: remove unused import X-Git-Tag: archive/raspbian/2025.7-2+rpi1^2^2~6^2~4^2~25^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c56cb4927d64e9aa578cd40dee0d908006dc6b9;p=ostree.git tests: remove unused import Fixes: warning: unused import: `with_procspawn_tempdir::with_procspawn_tempdir` --> src/test.rs:11:9 | 11 | pub use with_procspawn_tempdir::with_procspawn_tempdir; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module --> src/insttestmain.rs:9:1 | 9 | mod test; | ^^^^^^^^^ = note: `#[warn(unused_imports)]` on by default --- diff --git a/tests/inst/src/test.rs b/tests/inst/src/test.rs index 9fe042f3..9eafc561 100644 --- a/tests/inst/src/test.rs +++ b/tests/inst/src/test.rs @@ -8,8 +8,6 @@ use std::time; use anyhow::{bail, Context, Result}; use rand::Rng; -pub use with_procspawn_tempdir::with_procspawn_tempdir; - // HTTP Server deps use futures_util::future; use hyper::service::{make_service_fn, service_fn};