From a558f06234f0b8fb885c5e9b1843dfe88edb2d0b Mon Sep 17 00:00:00 2001 From: abdlatif-nabgha Date: Sun, 24 May 2026 10:08:43 +0100 Subject: [PATCH 1/2] Fix typo in test method See gh-50492 Signed-off-by: abdlatif-nabgha --- .../boot/web/servlet/AbstractFilterRegistrationBeanTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java index 6f984994c46..af99c5c237c 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java @@ -226,7 +226,7 @@ abstract class AbstractFilterRegistrationBeanTests { } @Test - void doesntFailIfDoubleRegistrationIsIgnored() { + void doesNotFailIfDoubleRegistrationIsIgnored() { assertThatCode(() -> { AbstractFilterRegistrationBean bean = createFilterRegistrationBean(); bean.setName("double-registration"); From bd9794a7e587dc5f2e1206bba906aeab04e6c0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Mon, 25 May 2026 17:06:24 +0200 Subject: [PATCH 2/2] Polish "Fix typo in test method" See gh-50492 --- .../devtools/remote/client/RemoteClientConfigurationTests.java | 2 +- .../boot/devtools/restart/SilentExitExceptionHandlerTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java index df859431870..4063bbaf617 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java @@ -90,7 +90,7 @@ class RemoteClientConfigurationTests { } @Test - void doesntWarnIfUsingHttps(CapturedOutput output) { + void doesNotWarnIfUsingHttps(CapturedOutput output) { configure("https://localhost", true); assertThat(output).doesNotContain("is insecure"); } diff --git a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java index 73602974fb7..c6b9a0f02c6 100644 --- a/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java +++ b/spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java @@ -46,7 +46,7 @@ class SilentExitExceptionHandlerTests { } @Test - void doesntInterfereWithOtherExceptions() throws Exception { + void doesNotInterfereWithOtherExceptions() throws Exception { TestThread testThread = new TestThread() { @Override public void run() {