Fix formatting

pull/19492/head
Stephane Nicoll 5 years ago
parent 18d97318df
commit 334f3e08ae

@ -83,8 +83,7 @@ class DispatcherServletAutoConfigurationTests {
@Test
void registrationOverrideWithAutowiredServlet() {
this.contextRunner.withUserConfiguration(CustomAutowiredRegistration.class)
.run((context) -> {
this.contextRunner.withUserConfiguration(CustomAutowiredRegistration.class).run((context) -> {
ServletRegistrationBean<?> registration = context.getBean(ServletRegistrationBean.class);
assertThat(registration.getUrlMappings()).containsExactly("/foo");
assertThat(registration.getServletName()).isEqualTo("customDispatcher");

Loading…
Cancel
Save