File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/io/vertx/core/http Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1369,7 +1369,7 @@ private void testServerConnectionClose(boolean sendEarlyResponse) throws Excepti
13691369 NetClient client = vertx .createNetClient ();
13701370 client .connect (testAddress , onSuccess (so -> {
13711371 so .write (
1372- "PUT / HTTP/1.1 \r \n " +
1372+ "PUT / HTTP/1.1\r \n " +
13731373 "connection: close\r \n " +
13741374 "content-length: 1\r \n " +
13751375 "\r \n " );
@@ -1386,7 +1386,7 @@ private void testServerConnectionClose(boolean sendEarlyResponse) throws Excepti
13861386 Buffer response = Buffer .buffer ();
13871387 so .handler (response ::appendBuffer );
13881388 so .closeHandler (v -> {
1389- assertTrue (response .toString ().startsWith ("HTTP/1.1 200 OK" ));
1389+ assertTrue ("Expected <" + response + "> to start with HTTP/1.1 200 OK" , response .toString ().startsWith ("HTTP/1.1 200 OK" ));
13901390 testComplete ();
13911391 });
13921392 }));
You can’t perform that action at this time.
0 commit comments