additional decoder tests
This commit is contained in:
parent
00b593c6ea
commit
57e10dfca6
1 changed files with 10 additions and 0 deletions
|
@ -1560,4 +1560,14 @@ single_quoted_string_test_() ->
|
||||||
].
|
].
|
||||||
|
|
||||||
|
|
||||||
|
ignored_bad_escapes_test_() ->
|
||||||
|
[
|
||||||
|
{"ignore unrecognized escape sequence", ?_assertEqual(
|
||||||
|
[{string, <<"\\x25">>}, end_json],
|
||||||
|
decode(<<"\"\\x25\"">>, [ignored_bad_escapes])
|
||||||
|
)}
|
||||||
|
].
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-endif.
|
-endif.
|
Loading…
Add table
Add a link
Reference in a new issue