Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.5
-
Fix Version/s: 1.5.2
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
The following test causes an exception ...
void testIt() {
assertEquals([1,2], [3,4])
}
That should fail yes, bit raises the following exception ...
java.lang.IllegalAccessError: tried to access method junit.framework.Assert.failNotEquals(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V from class groovy.util.GroovyTestCase
at groovy.util.GroovyTestCase.assertEquals(GroovyTestCase.java:385)
at groovy.util.GroovyTestCase.assertEquals(GroovyTestCase.java:389)
What version of Groovy do you have? The example seems to work for me with HEAD.