git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/toml/internal/toml-test/tests/valid/string/multiline.toml (about)

     1  # NOTE: this file includes some literal tab characters.
     2  
     3  multiline_empty_one = """"""
     4  
     5  # A newline immediately following the opening delimiter will be trimmed.
     6  multiline_empty_two = """
     7  """
     8  
     9  # \ at the end of line trims newlines as well; note that last \ is followed by
    10  # two spaces, which are ignored.
    11  multiline_empty_three = """\
    12      """
    13  multiline_empty_four = """\
    14     \
    15     \  
    16     """
    17  
    18  equivalent_one = "The quick brown fox jumps over the lazy dog."
    19  equivalent_two = """
    20  The quick brown \
    21  
    22  
    23    fox jumps over \
    24      the lazy dog."""
    25  
    26  equivalent_three = """\
    27         The quick brown \
    28         fox jumps over \
    29         the lazy dog.\
    30         """
    31  
    32  whitespace-after-bs = """\
    33         The quick brown \
    34         fox jumps over \   
    35         the lazy dog.\	
    36         """
    37  
    38  no-space = """a\
    39      b"""
    40  
    41  # Has tab character.
    42  keep-ws-before = """a   	\
    43     b"""
    44  
    45  escape-bs-1 = """a \\
    46  b"""
    47  
    48  escape-bs-2 = """a \\\
    49  b"""
    50  
    51  escape-bs-3 = """a \\\\
    52    b"""