From 4030a202f8f2eeb20d0ecb547a9d656a8e2821c5 Mon Sep 17 00:00:00 2001 From: Namilskyy Date: Mon, 1 Dec 2025 14:32:31 +0300 Subject: Fixed logical issue in --http repo url --- tests/http_funcs.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/http_funcs.rs b/tests/http_funcs.rs index 232d3b8..b5b0e5e 100644 --- a/tests/http_funcs.rs +++ b/tests/http_funcs.rs @@ -9,16 +9,13 @@ use std::collections::HashMap; use tempfile::TempDir; use tokio; -// Add these imports for logging -use log::{debug, error, info}; + +use log::{debug, info}; #[cfg(test)] mod http_package_tests { use super::*; - // Helper function to initialize the logger for each test. - // This uses `call_once` to ensure it's only initialized once, - // even if called multiple times, preventing panics. fn init_logger() { let _ = env_logger::builder().is_test(true).try_init(); } -- cgit v1.2.3