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
master
Sebastien Deleuze 10 years ago
parent 400738e804
commit f39c505069
  1. 5
      spring-context/src/test/java/org/springframework/context/groovy/GroovyApplicationContextTests.java
  2. 6
      spring-context/src/test/java/org/springframework/context/groovy/beans.groovy

@ -74,9 +74,4 @@ public class GroovyApplicationContextTests {
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…
Cancel
Save