groovy Strings and GString literals Multiline string (extra trailing newline)


Example

def str = '''
multiline 
string'''
assert str.readLines().size() == 3