add test for bom in decoder

This commit is contained in:
alisdair sullivan 2013-02-24 20:10:48 -08:00
parent 2e5bb4fd3b
commit 71767e4d28

View file

@ -1818,5 +1818,14 @@ ignored_bad_escapes_test_() ->
].
bom_test_() ->
[
{"bom", ?_assertEqual(
[start_array, end_array, end_json],
decode(<<16#ef, 16#bb, 16#bf, "[]"/utf8>>, [])
)}
].
-endif.