diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-05-23 20:48:54 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-23 21:48:54 +0300 |
| commit | 0803912c7fe5f034914e3c63347d5b6a4d2f23c8 (patch) | |
| tree | da385f32e9b01ed94f4d939e78881b76529827d2 /encoding/testdata/string.toml | |
| parent | 73f7be6ae0963548251b720465ea19802015901a (diff) | |
TOML: Move to encoding dir (denoland/deno_std#435)
Original: https://github.com/denoland/deno_std/commit/7a722ceffc0b60305863c1417ef22b835db0d58d
Diffstat (limited to 'encoding/testdata/string.toml')
| -rw-r--r-- | encoding/testdata/string.toml | 30 |
1 files changed, 30 insertions, 0 deletions
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 |
