Skip to content

Commit

Permalink
refacto: rename test modules
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieubes committed Nov 23, 2024
1 parent 03b2ae9 commit c1bdb04
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/file_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn string_exists_in_multiline_text(term: &str, content: &str) -> bool {
}

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

#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/project/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn should_scan_file<T: Project>(file_path: &str) -> bool {
}

#[cfg(test)]
mod projects_tests {
mod tests {
use super::{should_scan_file, node_js::NodeProject, rust::RustProject};

#[test]
Expand Down
2 changes: 1 addition & 1 deletion src/project/node_js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fn get_deps_names(parsed_file: NodePackagesHandler) -> Vec<String> {
}

#[cfg(test)]
mod project_node_tests {
mod tests {
use std::collections::HashMap;

use super::*;
Expand Down
2 changes: 1 addition & 1 deletion src/project/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn get_deps_names(parsed_file: RustPackagesHandler) -> Vec<String> {
}

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

#[test]
Expand Down

0 comments on commit c1bdb04

Please sign in to comment.