Skip to content

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Dec 19, 2024
1 parent 36676b7 commit 60d4110
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,10 @@ impl Display for Process {

#[cfg(test)]
mod tests {
use crate::{Listener, Process};
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};

use crate::{Listener, Process};

#[test]
fn test_v4_listener_to_string() {
let listener = Listener::new(
Expand Down
8 changes: 5 additions & 3 deletions tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use http_test_server::TestServer;
use listeners::{Listener, Process};
use serial_test::serial;
use std::net::SocketAddr;
use std::str::FromStr;

use http_test_server::TestServer;
use serial_test::serial;

use listeners::{Listener, Process};

#[test]
#[serial]
fn test_consistency() {
Expand Down

0 comments on commit 60d4110

Please sign in to comment.