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

assert in groovy does not produce any result

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: groovy-jdk
    • Labels:

      Description

      Hi running a simple assert does not produce any result in the eclipse IDE

      def map1 = [user: 'mrhaki', likes: 'Groovy', age: 37]

      def map2 = [age: 37.0, likes: 'Groovy', user: 'mrhaki']

      def map3 = [user: 'Hubert Klein Ikkink', likes: 'Groovy']

      assert map1.equals(map2)

      assert map1 == map2

      assert !map1.equals(map3)

      assert map2 != map3

        Attachments

        1. GroovyAssert.JPG
          149 kB
          Thulsi Doss Krishnan

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              kthulsidoss Thulsi Doss Krishnan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: