discovered and fixed a couple more broken tests

This commit is contained in:
alisdair sullivan 2011-08-03 00:15:18 -07:00
parent 12eb6c6c08
commit 5cd967b26d
5 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,3 @@
{name, "encoded_surrogates"}.
{jsx, [start_array,{string,66560]},end_array,end_json]}.
{jsx, [start_array,{string,[66560]},end_array,end_json]}.
{json, "encoded_surrogates.json"}.

View file

@ -1,4 +1,4 @@
{name, "noncharacter replaced"}.
{jsx, [{string,[16#fffd/utf8]},end_json]}.
{jsx, [{string,[16#fffd]},end_json]}.
{json, "noncharacter_replaced.json"}.
{jsx_flags, [loose_unicode]}.

View file

@ -1,4 +1,4 @@
{name, "unpaired surrogate replaced"}.
{jsx, [start_array,{string,16#fffd/utf8 ++ "blah"},end_array,end_json]}.
{jsx, [start_array,{string,[65533,$b,$l,$a,$h]},end_array,end_json]}.
{json, "unpaired_surrogate_replaced.json"}.
{jsx_flags, [loose_unicode]}.