Polish "Add negative tests to ConfigurationPropertiesScanTests"

Closes gh-16758
pull/16831/head
Stephane Nicoll 6 years ago
parent d44ffd3534
commit c85c653e57

@ -66,7 +66,7 @@ public class ConfigurationPropertiesScanTests {
load(TestConfiguration.class);
assertThat(this.context.containsBean(
"profile-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyProfileProperties"))
.isFalse();
.isFalse();
}
@Test
@ -87,7 +87,7 @@ public class ConfigurationPropertiesScanTests {
load(TestConfiguration.class);
assertThat(this.context.containsBean(
"resource-org.springframework.boot.context.properties.scan.valid.a.AScanConfiguration$MyResourceProperties"))
.isFalse();
.isFalse();
}
private void load(Class<?>... classes) {

Loading…
Cancel
Save