summaryrefslogtreecommitdiff
path: root/std/encoding/toml_test.ts
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/toml_test.ts
parent2d58fee8071987567a25f26b14e29cdcca9cb5ab (diff)
fix(std/encoding/toml): could not parse strings with apostrophes/semicolons (#6781)
Diffstat (limited to 'std/encoding/toml_test.ts')
-rw-r--r--std/encoding/toml_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/std/encoding/toml_test.ts b/std/encoding/toml_test.ts
index 5c4c63b5a..5d651c822 100644
--- a/std/encoding/toml_test.ts
+++ b/std/encoding/toml_test.ts
@@ -29,6 +29,8 @@ Deno.test({
str6: "The quick brown\nfox jumps over\nthe lazy dog.",
lines: "The first newline is\ntrimmed in raw strings.\n All other " +
"whitespace\n is preserved.",
+ withApostrophe: "What if it's not?",
+ withSemicolon: `const message = 'hello world';`,
},
};
const actual = parseFile(path.join(testFilesDir, "string.toml"));