You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Thulsi Doss Krishnan (JIRA)" <ji...@apache.org> on 2018/10/10 11:10:00 UTC

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

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)