groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-8838) assert in groovy does not produce any result
Date Sun, 16 Dec 2018 03:38:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paul King closed GROOVY-8838.
-----------------------------
    Resolution: Not A Problem
      Assignee: Paul King

No further comments - assuming this is expected behavior.

> 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
>            Assignee: Paul King
>            Priority: Major
>              Labels: simple-assert-
>         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)

Mime
View raw message