summaryrefslogtreecommitdiff
path: root/std/encoding/testdata
diff options
context:
space:
mode:
authoruki00a <uki00a@gmail.com>2020-07-17 07:36:15 +0900
committerGitHub <noreply@github.com>2020-07-16 18:36:15 -0400
commit121eaa4efcaa5c8a4cab25eed15de07642e0407d (patch)
tree352526a65d6a9ead0f2321caf6c22e27ef5ab54f /std/encoding/testdata
parent2d58fee8071987567a25f26b14e29cdcca9cb5ab (diff)
fix(std/encoding/toml): could not parse strings with apostrophes/semicolons (#6781)
Diffstat (limited to 'std/encoding/testdata')
-rw-r--r--std/encoding/testdata/string.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/std/encoding/testdata/string.toml b/std/encoding/testdata/string.toml
index f811824eb..55e3fca34 100644
--- a/std/encoding/testdata/string.toml
+++ b/std/encoding/testdata/string.toml
@@ -27,4 +27,7 @@ The first newline is
trimmed in raw strings.
All other whitespace
is preserved.
-''' \ No newline at end of file
+'''
+
+withApostrophe = "What if it's not?"
+withSemicolon = "const message = 'hello world';"