Description
This test passes in Groovy 2.5.6 - but not in 2.5.7/8:
Code where the error happens:
The JSON produced includes an extra comma:
,"_links":{(,)"resource":{(,)"href":"http://localhost/books/1"}}},{"logref":"book.title.bad.1","message":"Title Bad","path":"http://localhost/books/1","_links":{(,)"resource":{(,)"href":"ht ,"_links":{(-)"resource":{(-)"href":"http://localhost/books/1"}}},{"logref":"book.title.bad.1","message":"Title Bad","path":"http://localhost/books/1","_links":{(-)"resource":{(-)"href":"ht
To change the Groovy version for this project you can set it here - https://github.com/grails/grails-core/blob/master/build.gradle#L31
Attachments
Issue Links
- relates to
-
GROOVY-9662 Groovy 3.0.5: Closure delegate is not working properly
- Closed