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:
1 parent
104aef0a6e
commit
da4b34355d
2 files changed
+19
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user