Add std/json quirk_allow_backslash_new_line

This commit is contained in:
Nigel Tao committed 2020-04-07 17:24:31 +10:00
1 parent 2db72dabe5
commit 6f67bbc4b2
4 files changed
+22

No files matched your search

+5
View File
@@ -1428,6 +1428,11 @@ test_wuffs_json_decode_quirk_allow_backslash_etc() {
.str = "\"\\e\"",
.quirk = WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_E,
},
{
.want = 0x0A,
.str = "\"\\\n\"",
.quirk = WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_NEW_LINE,
},
{
.want = 0x3F,
.str = "\"\\?\"",