1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-27 09:32:16 +02:00

Rename test module into tests in smart pointer exercise (#1585)

If I'm not mistaken, the naming convention for modules containing only
tests is to call them `tests` (rather than `test`).
This commit is contained in:
Martin Huschenbett 2023-12-13 18:33:31 +01:00 committed by GitHub
parent 9563f055e2
commit ce081b12f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ fn main() {
// ANCHOR: tests // ANCHOR: tests
#[cfg(test)] #[cfg(test)]
mod test { mod tests {
use super::*; use super::*;
#[test] #[test]