From ba57e625f43a6f7b9c376fb1912d70428790e1d4 Mon Sep 17 00:00:00 2001 From: spencergibb Date: Tue, 20 Apr 2021 00:21:05 -0400 Subject: [PATCH] formatting --- .../gateway/sample/MvcFailureAnalyzerApplicationTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-cloud-gateway-integration-tests/mvc-failure-analyzer/src/test/java/org/springframework/cloud/gateway/sample/MvcFailureAnalyzerApplicationTests.java b/spring-cloud-gateway-integration-tests/mvc-failure-analyzer/src/test/java/org/springframework/cloud/gateway/sample/MvcFailureAnalyzerApplicationTests.java index 47ddca1f..8d07fb77 100644 --- a/spring-cloud-gateway-integration-tests/mvc-failure-analyzer/src/test/java/org/springframework/cloud/gateway/sample/MvcFailureAnalyzerApplicationTests.java +++ b/spring-cloud-gateway-integration-tests/mvc-failure-analyzer/src/test/java/org/springframework/cloud/gateway/sample/MvcFailureAnalyzerApplicationTests.java @@ -45,8 +45,7 @@ public class MvcFailureAnalyzerApplicationTests { @Test public void exceptionNotThrownWhenDisabled(CapturedOutput output) { assertThatCode(() -> new SpringApplication(MvcFailureAnalyzerApplication.class) - .run("--spring.cloud.gateway.enabled=false", "--server.port=0")) - .doesNotThrowAnyException(); + .run("--spring.cloud.gateway.enabled=false", "--server.port=0")).doesNotThrowAnyException(); assertThat(output).doesNotContain("Spring MVC found on classpath", "Please remove spring-boot-starter-web dependency"); }