diff --git a/src/logging.rs b/src/logging.rs index bb0f827..2972ea8 100644 --- a/src/logging.rs +++ b/src/logging.rs @@ -39,6 +39,7 @@ mod tests { #[rstest] fn err_if_level_not_set() { + env::remove_var("RUST_LOG"); assert!(get_subscriber(false).is_err()); } }