diff --git a/src/resolver.rs b/src/resolver.rs index 43fd456..3cad3c7 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -90,7 +90,7 @@ impl Resolver { } } -#[cfg(test)] +#[cfg(all(test, tokio_socket))] mod test { use super::*; use crate::new_connection;