Skip to content

Commit

Permalink
Clean up naming of modules containing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sirhcel committed Aug 2, 2024
1 parent 967916f commit b622588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/posix/enumerate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ cfg_if! {
not(target_env = "musl"),
feature = "libudev"
))]
mod test {
mod tests {
use super::*;

use quickcheck_macros::quickcheck;
Expand Down
2 changes: 1 addition & 1 deletion src/windows/enumerate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ pub fn available_ports() -> Result<Vec<SerialPortInfo>> {
}

#[cfg(test)]
mod test {
mod tests {
use super::*;

use quickcheck_macros::quickcheck;
Expand Down

0 comments on commit b622588

Please sign in to comment.