Skip to content
Browse files

GRAILS-9057 - fix assertion failures

import groovy.util.GroovyTestCase.* instead of org.junit.Assert.* so methods provided by GroovyTestCase get precedence over those provided by Assert.
  • Loading branch information...
1 parent b4bb4f6 commit 0fd76a4667aefedc2b4da18e7c86a115c8ea4a96 @jeffbrown jeffbrown committed Apr 26, 2012
View
2 ...-testing/src/main/groovy/org/codehaus/groovy/grails/test/compiler/GrailsTestCompiler.java
@@ -39,7 +39,7 @@ protected CompilationUnit makeCompileUnit() {
ImportCustomizer importCustomizer = new ImportCustomizer();
importCustomizer.addStarImports("grails.test.mixin");
importCustomizer.addStarImports("org.junit");
- importCustomizer.addStaticStars("org.junit.Assert");
+ importCustomizer.addStaticStars("groovy.util.GroovyTestCase");
ASTTransformationCustomizer astTransformationCustomizer = new ASTTransformationCustomizer(TestFor.class);

0 comments on commit 0fd76a4

Please sign in to comment.
Something went wrong with that request. Please try again.