Use mod tests consistently (#5278)

As per the Rust documentation.
This commit is contained in:
Charlie Marsh 2023-06-21 21:50:28 -04:00 committed by GitHub
parent c0c59b82ec
commit 6b8b318d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 7 deletions

View file

@ -119,7 +119,7 @@ fn check_help_text() -> String {
}
#[cfg(test)]
mod test {
mod tests {
use anyhow::Result;
use crate::generate_all::Mode;

View file

@ -53,7 +53,7 @@ pub(crate) fn main(args: &Args) -> Result<()> {
}
#[cfg(test)]
mod test {
mod tests {
use anyhow::Result;
use std::env;