summaryrefslogtreecommitdiff
path: root/std/encoding/testdata/string.toml
diff options
context:
space:
mode:
Diffstat (limited to 'std/encoding/testdata/string.toml')
m---------std0
-rw-r--r--std/encoding/testdata/string.toml30
2 files changed, 30 insertions, 0 deletions
diff --git a/std b/std
deleted file mode 160000
-Subproject 43aafbf33285753e7b42230f0eb7969b300f71c
diff --git a/std/encoding/testdata/string.toml b/std/encoding/testdata/string.toml
new file mode 100644
index 000000000..f811824eb
--- /dev/null
+++ b/std/encoding/testdata/string.toml
@@ -0,0 +1,30 @@
+[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.
+''' \ No newline at end of file