Skip to content

Commit c85c653

Browse files
committed
Polish "Add negative tests to ConfigurationPropertiesScanTests"
Closes gh-16758
1 parent d44ffd3 commit c85c653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesScanTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void scanImportBeanRegistrarShouldBeEnvironmentAwareWithoutRequiredProfil
6666
load(TestConfiguration.class);
6767
assertThat(this.context.containsBean(
6868
"profile-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyProfileProperties"))
69-
.isFalse();
69+
.isFalse();
7070
}
7171

7272
@Test
@@ -87,7 +87,7 @@ public void scanImportBeanRegistrarShouldBeResourceLoaderAwareWithoutRequiredRes
8787
load(TestConfiguration.class);
8888
assertThat(this.context.containsBean(
8989
"resource-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyResourceProperties"))
90-
.isFalse();
90+
.isFalse();
9191
}
9292

9393
private void load(Class<?>... classes) {

0 commit comments

Comments
 (0)