@@ -897,9 +897,9 @@ private String getContextPath() {
|
897 | 897 | private static void assertUrlAndPorts(HttpServletRequest request, String url, int serverPort, boolean secure) { |
898 | 898 | assertThat(request.getRequestURL()).asString().as("url").isEqualTo(url); |
899 | 899 | assertThat(request.getServerPort()).as("server port").isEqualTo(serverPort); |
900 | | -// In a mocked request, the local post is always the same as the server port. |
| 900 | +// In a mocked request, the local port is always the same as the server port. |
901 | 901 | assertThat(request.getLocalPort()).as("local port").isEqualTo(serverPort); |
902 | | -// Remote Port is always 80 (MockHttpServletRequest.DEFAULT_SERVER_PORT), |
| 902 | +// Remote port is always 80 (MockHttpServletRequest.DEFAULT_SERVER_PORT), |
903 | 903 | // since a mocked request does not influence the remote host, port, or address. |
904 | 904 | assertThat(request.getRemotePort()).as("remote port").isEqualTo(80); |
905 | 905 | |
|