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
This commit is contained in:
parent
400738e804
commit
f39c505069
|
|
@ -74,9 +74,4 @@ public class GroovyApplicationContextTests {
|
||||||
new GenericGroovyApplicationContext("org/springframework/context/groovy/applicationContext-error.groovy");
|
new GenericGroovyApplicationContext("org/springframework/context/groovy/applicationContext-error.groovy");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = BeanDefinitionParsingException.class)
|
|
||||||
public void testConfigFileParsingErrorWhenNamedBeans() {
|
|
||||||
new GenericGroovyApplicationContext("org/springframework/context/groovy/beans.groovy");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
package org.springframework.context.groovy
|
|
||||||
|
|
||||||
beans = {
|
|
||||||
framework String, 'Grails'
|
|
||||||
foo String, 'hello'
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue