formatting

This commit is contained in:
spencergibb
2021-04-20 00:21:05 -04:00
parent 381f54ae60
commit ba57e625f4

View File

@@ -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");
}