1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-12 18:42:18 -05:00
denoland-deno/std/encoding/testdata/string.toml

35 lines
815 B
TOML
Raw Normal View History

[strings]
str0 = "deno"
str1 = """
Roses are not Deno
Violets are not Deno either"""
# On a Unix system, the above multi-line string will most likely be the same as:
str2 = "Roses are not Deno\nViolets are not Deno either"
# On a Windows system, it will most likely be equivalent to:
str3 = "Roses are not Deno\r\nViolets are not Deno either"
str4 = "this is a \"quote\""
str5 = """
The quick brown \
fox jumps over \
the lazy dog."""
str6 = """\
The quick brown \
fox jumps over \
the lazy dog.\
"""
lines = '''
The first newline is
trimmed in raw strings.
All other whitespace
is preserved.
'''
withApostrophe = "What if it's not?"
withSemicolon = "const message = 'hello world';"
withHexNumberLiteral = "Prevent bug from stripping string here ->0xabcdef"