diff --git a/src/lib.rs b/src/lib.rs index d78448f..74beab3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,10 +28,6 @@ //! //! The actual output is uses ANSI colour codes as well. -pub mod checks; -#[cfg(test)] -mod tests; - use std::cmp::max; use std::io::Write; @@ -41,6 +37,10 @@ use anstyle::Reset; use strum::IntoStaticStr; use thiserror::Error; +pub mod checks; +#[cfg(test)] +mod tests; + /// Error from medic #[derive(Debug, Error)] #[non_exhaustive] diff --git a/src/tests.rs b/src/tests.rs index 757442f..b3b50d5 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -1,7 +1,8 @@ +use pretty_assertions::assert_eq; + use crate::medic; use crate::Check; use crate::CheckResult; -use pretty_assertions::assert_eq; #[test] fn test_medic() {