Browse Source

Polish assertion

pull/33266/head
Stéphane Nicoll 1 year ago
parent
commit
92385418ae
  1. 2
      spring-context/src/test/java/org/springframework/context/annotation/ImportSelectorTests.java

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

@ -99,7 +99,7 @@ public class ImportSelectorTests { @@ -99,7 +99,7 @@ public class ImportSelectorTests {
String[] beanNames = context.getBeanFactory().getBeanDefinitionNames();
assertThat(beanNames).endsWith("importSelectorTests.FilteredConfig",
ImportedSelector2.class.getName(), "b");
assertThat(beanNames).doesNotContain(Object.class.getName());
assertThat(beanNames).doesNotContain("a", Object.class.getName(), "c");
}
@Test

Loading…
Cancel
Save