Skip to content

Commit

Permalink
Merge #2720 into 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Mar 7, 2023
2 parents 4960e20 + 5bda5ff commit 0d8277c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void noHeaders() {
Assertions.assertThat(serverRequest.hostAddress().getHostString())
.containsPattern("^0:0:0:0:0:0:0:1(%\\w*)?|127.0.0.1$");
Assertions.assertThat(serverRequest.hostAddress().getPort()).isEqualTo(this.disposableServer.port());
Assertions.assertThat(serverRequest.hostName()).isEqualTo("[::1]");
Assertions.assertThat(serverRequest.hostName()).containsPattern("^\\[::1\\]|127.0.0.1$");
Assertions.assertThat(serverRequest.hostPort()).isEqualTo(this.disposableServer.port());
});
}
Expand Down

0 comments on commit 0d8277c

Please sign in to comment.