多行字串(額外的尾隨換行符)

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