diff --git a/src/main.rs b/src/main.rs index 47647c0..726e98d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,6 +194,10 @@ mod init_logger { Ok(()) } + // The following tests work but because the log crate is global, initializing + // the logger more than once (read: testing it more than once) leads to a + // panic. These ignored tests must be manually tested. + #[test] #[ignore] fn caps_to_2_when_log_level_is_lt_2() -> Result<(), BunBunError> {