Add an parse test for content starting with a UTF8 BOM, which is _not_ a valid start to a JSON message.

This commit is contained in:
Eric Haszlakiewicz
2018-03-25 18:23:42 -04:00
parent 104aef0a6e
commit da4b34355d
2 changed files with 19 additions and 2 deletions

View File

@@ -51,7 +51,10 @@ new_obj.to_string([0e+])=[ 0.0 ]
new_obj.to_string([0e+-1])=null
new_obj.to_string([18446744073709551616])=[ 9223372036854775807 ]
==================================
json_tokener_parse_versbose() OK
new_obj.to_string()=null
new_obj.to_string({})=null
==================================
json_tokener_parse_verbose() OK
==================================
Starting incremental tests.
Note: quotes and backslashes seen in the output here are literal values passed