Skip to content

Commit

Permalink
Remove unrequired variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ftassi committed Sep 16, 2023
1 parent f374501 commit 6b3e3ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/health_check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async fn spawn_app() -> AppData {
let port = listener.local_addr().unwrap().port();
let server =
zero2prod::startup::run(listener, connection.clone()).expect("Failed to bind address");
let _ = tokio::spawn(server);
tokio::spawn(server);

AppData {
address: format!("http://127.0.0.1:{}", port),
Expand Down
2 changes: 1 addition & 1 deletion tests/subscriptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async fn spawn_app() -> AppData {
let port = listener.local_addr().unwrap().port();
let server =
zero2prod::startup::run(listener, connection.clone()).expect("Failed to bind address");
let _ = tokio::spawn(server);
tokio::spawn(server);

AppData {
address: format!("http://127.0.0.1:{}", port),
Expand Down

0 comments on commit 6b3e3ed

Please sign in to comment.