diff --git a/core/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java b/core/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java index e6a7fbb997e..88287de72d1 100644 --- a/core/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java +++ b/core/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java @@ -234,7 +234,7 @@ abstract class AbstractFilterRegistrationBeanTests { } @Test - void doesntFailIfDoubleRegistrationIsIgnored() { + void doesNotFailIfDoubleRegistrationIsIgnored() { assertThatCode(() -> { AbstractFilterRegistrationBean bean = createFilterRegistrationBean(); bean.setName("double-registration"); diff --git a/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java b/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java index 37ff6bef363..f1cc7ec2ba8 100644 --- a/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java +++ b/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java @@ -92,7 +92,7 @@ class RemoteClientConfigurationTests { } @Test - void doesntWarnIfUsingHttps(CapturedOutput output) { + void doesNotWarnIfUsingHttps(CapturedOutput output) { configure("https://localhost", true); assertThat(output).doesNotContain("is insecure"); } diff --git a/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java b/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java index ad081ee2b1e..ec8f32f9faa 100644 --- a/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java +++ b/module/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java @@ -47,7 +47,7 @@ class SilentExitExceptionHandlerTests { } @Test - void doesntInterfereWithOtherExceptions() throws Exception { + void doesNotInterfereWithOtherExceptions() throws Exception { TestThread testThread = new TestThread() { @Override public void run() {