update code

This commit is contained in:
dota17
2020-01-20 10:41:24 +08:00
parent eca74dcccf
commit 787a8b3f1c
4 changed files with 48 additions and 36 deletions
+1 -3
View File
@@ -191,8 +191,6 @@ json_tokener_parse_ex(tok,
json_tokener_parse_ex(tok, "世界" , 8) ... OK: got object of type [string]: "世界"
json_tokener_parse_ex(tok, "πφ" , 6) ... OK: got object of type [string]: "πφ"
json_tokener_parse_ex(tok, "𥑕" , 6) ... OK: got object of type [string]: "𥑕"
json_tokener_parse_ex(tok, "ø¥¥‘•" , 7) ... OK: got object of type [string]: "ø¥¥‘•"
json_tokener_parse_ex(tok, "ý¥¥¥‘•" , 8) ... OK: got object of type [string]: "ý¥¥¥‘•"
json_tokener_parse_ex(tok, "æN" , 5) ... OK: got correct error: invalid utf-8 string
json_tokener_parse_ex(tok, "æN" , 5) ... OK: got object of type [string]: "æN"
json_tokener_parse_ex(tok, "ÀîÅô" , 6) ... OK: got correct error: invalid utf-8 string
@@ -207,5 +205,5 @@ json_tokener_parse_ex(tok, "\ud855
json_tokener_parse_ex(tok, "\ud0031À" , 10) ... OK: got correct error: invalid utf-8 string
json_tokener_parse_ex(tok, 1111 , 5) ... OK: got correct error: invalid utf-8 string
json_tokener_parse_ex(tok, {"1":1} , 8) ... OK: got correct error: invalid utf-8 string
End Incremental Tests OK=129 ERROR=0
End Incremental Tests OK=127 ERROR=0
==================================