Description
A string defined via the triple double quote (not assigned to a variable) in the groovysh generates an error:
$ bin/groovysh Groovy Shell (2.4.0, JVM: 1.8.0_31) Type ':help' or ':h' for help. ------------------------------------------------------------------------------- groovy:000> "test" ===> test groovy:000> 'test' ===> test groovy:000> """test""" assert name | "" at java_lang_Runnable$run.call (Unknown Source) groovy:000> """test
The above was possible in previous versions. My guess is that this problem introduced itself given the new method for parsing code lines given to groovysh (but i'm not 100% sure):