diff --git a/src/main.rs b/src/main.rs index 3ded377..4dab2d4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ -use learn_axum::startup; use learn_axum::configuration::get_configuration; +use learn_axum::startup; use tokio::net::TcpListener; #[tokio::main] diff --git a/tests/health_check.rs b/tests/health_check.rs index b54208b..00e736a 100644 --- a/tests/health_check.rs +++ b/tests/health_check.rs @@ -1,7 +1,7 @@ +use learn_axum::configuration::get_configuration; +use sqlx::{Connection, PgConnection}; use std::net::SocketAddr; use tokio::net::TcpListener; -use sqlx::{PgConnection, Connection}; -use learn_axum::configuration::get_configuration; struct TestApp { address: String, @@ -92,7 +92,5 @@ async fn spawn_app() -> TestApp { .await .unwrap(); }); - TestApp { - address - } + TestApp { address } }