diff --git a/main/src/docker.rs b/main/src/docker.rs index eb15a1b..5530d92 100644 --- a/main/src/docker.rs +++ b/main/src/docker.rs @@ -149,8 +149,7 @@ fn verify_valid_host() -> Result<()> { Ok(()) } -#[cfg(feature="docker-test")] -#[cfg(test)] +#[cfg(all(test, feature = "docker-test"))] mod tests { use super::*;