Skip to content

Commit 4e9227a

Browse files
committed
Change the suffix for unit test files from "_test.rs" to ".test.rs"
1 parent 19df0a0 commit 4e9227a

File tree

8 files changed

+4
-4
lines changed

8 files changed

+4
-4
lines changed

src/auth_file_watcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@ impl AuthFileWatcher {
127127
}
128128

129129
#[cfg(test)]
130-
#[path = "./auth_file_watcher_test.rs"]
130+
#[path = "./auth_file_watcher.test.rs"]
131131
mod test;

src/auth_monitor_params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ impl Display for AuthMonitorParams {
116116
}
117117

118118
#[cfg(test)]
119-
#[path = "./auth_monitor_params_test.rs"]
119+
#[path = "./auth_monitor_params.test.rs"]
120120
mod test;

src/file_path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ impl FilePath {
5555
}
5656

5757
#[cfg(test)]
58-
#[path = "./file_path_test.rs"]
58+
#[path = "./file_path.test.rs"]
5959
mod test;

src/message_parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ fn find_pam_prefix_end(message: &str) -> Option<usize> {
1717
}
1818

1919
#[cfg(test)]
20-
#[path = "./message_parser_test.rs"]
20+
#[path = "./message_parser.test.rs"]
2121
mod test;

0 commit comments

Comments
 (0)