[jira] [Created] (GROOVY-8838) assert in groovy does not produce any result

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (GROOVY-8838) assert in groovy does not produce any result

JIRA jira@apache.org
Thulsi Doss Krishnan created GROOVY-8838:
--------------------------------------------

             Summary: assert in groovy does not produce any result
                 Key: GROOVY-8838
                 URL: https://issues.apache.org/jira/browse/GROOVY-8838
             Project: Groovy
          Issue Type: Bug
          Components: groovy-jdk
    Affects Versions: 2.4.3
            Reporter: Thulsi Doss Krishnan
         Attachments: GroovyAssert.JPG

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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)