diff --git a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java index 1424d5a044d8..7ba60185a7c3 100644 --- a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java +++ b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java @@ -1401,13 +1401,13 @@ public void testInetAccessHandler() throws Exception startHttpClient(); // Excluded path returns 403 response. - ContentResponse response = client.newRequest("http://localhost:" + httpPort +"/excludedPath") + ContentResponse response = client.newRequest("http://localhost:" + httpPort + "/excludedPath") .timeout(15, TimeUnit.SECONDS) .send(); assertEquals(HttpStatus.FORBIDDEN_403, response.getStatus()); // Other paths return 404 response. - response = client.newRequest("http://localhost:" + httpPort +"/path") + response = client.newRequest("http://localhost:" + httpPort + "/path") .timeout(15, TimeUnit.SECONDS) .send(); assertEquals(HttpStatus.NOT_FOUND_404, response.getStatus());