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