From b622588a791fe0374b6888d1832e2b7f1c107308 Mon Sep 17 00:00:00 2001 From: Christian Meusel Date: Fri, 2 Aug 2024 21:22:54 +0200 Subject: [PATCH] Clean up naming of modules containing unit tests --- src/posix/enumerate.rs | 2 +- src/windows/enumerate.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;