allow unicode noncharacters and reserved space characters in json
strings fixes #67
This commit is contained in:
parent
5f5e85914d
commit
9528216d15
5 changed files with 30 additions and 191 deletions
|
@ -103,8 +103,8 @@ custom_error_handler_test_() ->
|
|||
parser(self(), [{error_handler, Error}])
|
||||
)},
|
||||
{"string error", ?_assertEqual(
|
||||
{value, [{string, <<239, 191, 191>>}]},
|
||||
parser(<<239, 191, 191>>, [{error_handler, Error}, strict])
|
||||
{value, [{string, <<237, 160, 128>>}]},
|
||||
parser(<<237, 160, 128>>, [{error_handler, Error}, strict])
|
||||
)}
|
||||
].
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue