多行字符串(额外的尾随换行符)

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