Skip to content

Commit 3a37d16

Browse files
committed
Merge pull request #50492 from Abdlatif-nabgha
* improve-test-method-name: Polish "Fix typo in test method" Fix typo in test method Closes gh-50492
2 parents 10f822e + bd9794a commit 3a37d16

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/remote/client/RemoteClientConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void warnIfNotHttps(CapturedOutput output) {
9090
}
9191

9292
@Test
93-
void doesntWarnIfUsingHttps(CapturedOutput output) {
93+
void doesNotWarnIfUsingHttps(CapturedOutput output) {
9494
configure("https://localhost", true);
9595
assertThat(output).doesNotContain("is insecure");
9696
}

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/restart/SilentExitExceptionHandlerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void run() {
4646
}
4747

4848
@Test
49-
void doesntInterfereWithOtherExceptions() throws Exception {
49+
void doesNotInterfereWithOtherExceptions() throws Exception {
5050
TestThread testThread = new TestThread() {
5151
@Override
5252
public void run() {

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBeanTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private void doubleRegistration() throws ServletException {
226226
}
227227

228228
@Test
229-
void doesntFailIfDoubleRegistrationIsIgnored() {
229+
void doesNotFailIfDoubleRegistrationIsIgnored() {
230230
assertThatCode(() -> {
231231
AbstractFilterRegistrationBean<?> bean = createFilterRegistrationBean();
232232
bean.setName("double-registration");

0 commit comments

Comments
 (0)