You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/12/16 03:38:00 UTC

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

     [ 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)