...

Text file src/github.com/BurntSushi/toml/internal/toml-test/tests/valid/string/multiline-quotes.toml

Documentation: github.com/BurntSushi/toml/internal/toml-test/tests/valid/string

     1# Make sure that quotes inside multiline strings are allowed, including right
     2# after the opening '''/""" and before the closing '''/"""
     3
     4lit_one = ''''one quote''''
     5lit_two = '''''two quotes'''''
     6lit_one_space = ''' 'one quote' '''
     7lit_two_space = ''' ''two quotes'' '''
     8
     9one = """"one quote""""
    10two = """""two quotes"""""
    11one_space = """ "one quote" """
    12two_space = """ ""two quotes"" """
    13
    14mismatch1 = """aaa'''bbb"""
    15mismatch2 = '''aaa"""bbb'''
    16
    17# Three opening """, then one escaped ", then two "" (allowed), and then three
    18# closing """
    19escaped = """lol\""""""

View as plain text