Skip to content

Commit 9238541

Browse files
committed
Polish assertion
1 parent ccc0a54 commit 9238541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/test/java/org/springframework/context/annotation/ImportSelectorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void filteredImportSelector() {
9999
String[] beanNames = context.getBeanFactory().getBeanDefinitionNames();
100100
assertThat(beanNames).endsWith("importSelectorTests.FilteredConfig",
101101
ImportedSelector2.class.getName(), "b");
102-
assertThat(beanNames).doesNotContain(Object.class.getName());
102+
assertThat(beanNames).doesNotContain("a", Object.class.getName(), "c");
103103
}
104104

105105
@Test

0 commit comments

Comments
 (0)