Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2497

assertEquals() raises IllegalAccessError for Lists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.5
    • 1.5.2
    • None
    • None

    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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            ldaley Luke Daley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: