diff options
| author | Namilskyy <alive6863@gmail.com> | 2025-12-01 14:32:31 +0300 |
|---|---|---|
| committer | Namilskyy <alive6863@gmail.com> | 2025-12-01 14:32:31 +0300 |
| commit | 4030a202f8f2eeb20d0ecb547a9d656a8e2821c5 (patch) | |
| tree | 3fc78ce44f3c4dc748e0d4e27418262f3e42a1b3 /tests | |
| parent | b157e34176858766738be7e6903cc188285a5aeb (diff) | |
Fixed logical issue in --http repo url
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/http_funcs.rs | 7 |
1 files changed, 2 insertions, 5 deletions
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(); } |
