Skip to content

Commit

Permalink
Update log.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Nov 11, 2020
1 parent 245885c commit 5fa1765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn test_server_listen(logger: &mut logtest::Logger) {
let port = test_utils::find_port().await;
let app = tide::new();
let res = app
.listen(("localhost", port))
.listen(("127.0.0.1", port))
.timeout(Duration::from_millis(60))
.await;
assert!(res.is_err());
Expand All @@ -26,7 +26,7 @@ async fn test_server_listen(logger: &mut logtest::Logger) {
.unwrap();
assert_eq!(
record.args(),
format!("Server listening on http://[::1]:{}", port)
format!("Server listening on http://127.0.0.1:{}", port)
);
}

Expand Down

0 comments on commit 5fa1765

Please sign in to comment.