mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 00:38:14 +01:00
Add std/json quirk_allow_backslash_new_line
This commit is contained in:
1 parent
2db72dabe5
commit
6f67bbc4b2
4 files changed
+22
No files matched your search
@@ -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 = "\"\\?\"",
|
||||
|
||||
Reference in new issue
Block a user