clippy
This commit is contained in:
parent
73f4d7e453
commit
338b221e8d
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ use tempfile::TempDir;
|
||||||
use tracing::{debug, info};
|
use tracing::{debug, info};
|
||||||
|
|
||||||
pub fn setup_test_logging() {
|
pub fn setup_test_logging() {
|
||||||
if let Err(_) = std::env::var("RUST_LOG") {
|
if std::env::var("RUST_LOG").is_err() {
|
||||||
std::env::set_var("RUST_LOG", "debug");
|
std::env::set_var("RUST_LOG", "debug");
|
||||||
}
|
}
|
||||||
let _ = tracing_subscriber::fmt::try_init();
|
let _ = tracing_subscriber::fmt::try_init();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue