summaryrefslogtreecommitdiff
path: root/std/encoding/testdata/string.toml
blob: 640717d0ebe604a7e8fd18f844b9e1d983111e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[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"
withUnicodeChar1 = "\u3042"
withUnicodeChar2 = "Deno\U01F995"