Forum Discussion

tomaszarmata's avatar
tomaszarmata
Contributor
10 years ago

Wierd diffrence in groovy map objects.

Hey,   I have two objects. First (groovy object) holds object structure and second (xml object) holds test data which I want to put into first object.   First I need to check if first object cont...
  • nmrao's avatar
    nmrao
    10 years ago

    Just a simple change to be made:

     

    from

    def groovyObject2 = [  "$name" : 'something' ] 

    to

    def groovyObject2 = [  (name) : 'something' ] 

    Selection_254.png