diff --git a/src/posix/enumerate.rs b/src/posix/enumerate.rs index 44c44a33..209e7cd0 100644 --- a/src/posix/enumerate.rs +++ b/src/posix/enumerate.rs @@ -696,7 +696,7 @@ cfg_if! { not(target_env = "musl"), feature = "libudev" ))] -mod test { +mod tests { use super::*; use quickcheck_macros::quickcheck; diff --git a/src/windows/enumerate.rs b/src/windows/enumerate.rs index 57333ec2..c303e246 100644 --- a/src/windows/enumerate.rs +++ b/src/windows/enumerate.rs @@ -562,7 +562,7 @@ pub fn available_ports() -> Result> { } #[cfg(test)] -mod test { +mod tests { use super::*; use quickcheck_macros::quickcheck;