dont normalize line endings on test
@@ -56,7 +56,7 @@ public class RouterTest extends WebTestBase {
.respond(rc -> vertx.fileSystem().readFile(rc.queryParams().get("file")));
Buffer expected = vertx.fileSystem().readFileBlocking(".htdigest");
- testRequest(HttpMethod.GET, "/?file=.htdigest", null, res -> assertEquals(res.getHeader("Content-Type"), "application/octet-stream"), 200, "OK", expected.toString(StandardCharsets.ISO_8859_1));
+ testRequestBuffer(HttpMethod.GET, "/?file=.htdigest", null, res -> assertEquals(res.getHeader("Content-Type"), "application/octet-stream"), 200, "OK", expected);
}
@Test
