git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/toml/internal/toml-test/tests/valid/string/multiline-quotes.toml (about) 1 # Make sure that quotes inside multiline strings are allowed, including right 2 # after the opening '''/""" and before the closing '''/""" 3 4 lit_one = ''''one quote'''' 5 lit_two = '''''two quotes''''' 6 lit_one_space = ''' 'one quote' ''' 7 lit_two_space = ''' ''two quotes'' ''' 8 9 one = """"one quote"""" 10 two = """""two quotes""""" 11 one_space = """ "one quote" """ 12 two_space = """ ""two quotes"" """ 13 14 mismatch1 = """aaa'''bbb""" 15 mismatch2 = '''aaa"""bbb''' 16 17 # Three opening """, then one escaped ", then two "" (allowed), and then three 18 # closing """ 19 escaped = """lol\""""""