Skip to content

Commit f39c505

Browse files
committed
Remove a Groovy test already covered by testConfigFileParsingError()
The removed test testConfigFileParsingErrorWhenNamedBeans() could cause a groovyc compilation error, for example when using latest IntelliJ IDEA. Issue: SPR-12435
1 parent 400738e commit f39c505

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

spring-context/src/test/java/org/springframework/context/groovy/GroovyApplicationContextTests.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,4 @@ public void testConfigFileParsingError() {
7474
new GenericGroovyApplicationContext("org/springframework/context/groovy/applicationContext-error.groovy");
7575
}
7676

77-
@Test(expected = BeanDefinitionParsingException.class)
78-
public void testConfigFileParsingErrorWhenNamedBeans() {
79-
new GenericGroovyApplicationContext("org/springframework/context/groovy/beans.groovy");
80-
}
81-
8277
}

spring-context/src/test/java/org/springframework/context/groovy/beans.groovy

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)