Jelajahi Sumber

clippy: drop imports left dangling by the test split

Alexander Korolev 2 bulan lalu
induk
melakukan
ec9b0d2e4f
2 mengubah file dengan 1 tambahan dan 2 penghapusan
  1. 1 1
      src/web/api_tests.rs
  2. 0 1
      src/web/tests.rs

+ 1 - 1
src/web/api_tests.rs

@@ -1,7 +1,7 @@
 //! Web API round-trip tests (P2 actions, P3 log windows, P4 raw content) —
 //! split from `tests.rs` at the 500-line cap. Shared helpers live there.
 
-use super::tests::{app_state, boot, call, fake_config};
+use super::tests::{app_state, boot, call};
 use crate::web::events::Event;
 use axum::http::StatusCode;
 

+ 0 - 1
src/web/tests.rs

@@ -4,7 +4,6 @@
 use crate::config::{Cluster, Config, Node};
 use crate::web::events::{Event, build_snapshot};
 use crate::web::{AppState, router};
-use axum::http::StatusCode;
 use std::collections::HashMap;
 use std::net::SocketAddr;