From 0803912c7fe5f034914e3c63347d5b6a4d2f23c8 Mon Sep 17 00:00:00 2001 From: Vincent LE GOFF Date: Thu, 23 May 2019 20:48:54 +0200 Subject: TOML: Move to encoding dir (denoland/deno_std#435) Original: https://github.com/denoland/deno_std/commit/7a722ceffc0b60305863c1417ef22b835db0d58d --- encoding/testdata/string.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 encoding/testdata/string.toml (limited to 'encoding/testdata/string.toml') diff --git a/encoding/testdata/string.toml b/encoding/testdata/string.toml new file mode 100644 index 000000000..f811824eb --- /dev/null +++ b/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 -- cgit v1.2.3