formatting

This commit is contained in:
spencergibb
2021-05-24 11:21:41 -04:00
parent d861ab7e8f
commit 8423e3ae57
2 changed files with 3 additions and 8 deletions

View File

@@ -211,7 +211,6 @@ public class GatewayAutoConfigurationTests {
assertThat(spec2.protocols()).isNull();
}
@Test // gh-2215
public void webSocketClientSpecBuilderIsUniquePerReactorNettyWebSocketClient()
throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {

View File

@@ -64,11 +64,8 @@ public class NettyRoutingFilterTests extends BaseWebClientTests {
@Test // gh-2207
public void testCaseInsensitiveScheme() {
DisposableServer server = HttpServer
.create().port(port).host(
"127.0.0.1")
.route(routes -> routes.get("/issue", (request, response) -> response
.sendString(Mono.just("issue2207"))))
DisposableServer server = HttpServer.create().port(port).host("127.0.0.1").route(
routes -> routes.get("/issue", (request, response) -> response.sendString(Mono.just("issue2207"))))
.bindNow();
try {
@@ -76,8 +73,7 @@ public class NettyRoutingFilterTests extends BaseWebClientTests {
.consumeWith(entityExchangeResult -> {
Assert.assertNotNull(entityExchangeResult);
Assert.assertNotNull(entityExchangeResult.getResponseBody());
String content = new String(
entityExchangeResult.getResponseBody());
String content = new String(entityExchangeResult.getResponseBody());
Assert.assertEquals("issue2207", content);
});
}