summaryrefslogtreecommitdiff
path: root/tests/http_funcs.rs
diff options
context:
space:
mode:
authorNamilskyy <alive6863@gmail.com>2025-12-01 14:32:31 +0300
committerNamilskyy <alive6863@gmail.com>2025-12-01 14:32:31 +0300
commit4030a202f8f2eeb20d0ecb547a9d656a8e2821c5 (patch)
tree3fc78ce44f3c4dc748e0d4e27418262f3e42a1b3 /tests/http_funcs.rs
parentb157e34176858766738be7e6903cc188285a5aeb (diff)
Fixed logical issue in --http repo url
Diffstat (limited to 'tests/http_funcs.rs')
-rw-r--r--tests/http_funcs.rs7
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();
}