mirror of
https://github.com/json-c/json-c.git
synced 2026-04-07 06:19:07 +08:00
@@ -303,11 +303,11 @@ struct incremental_step {
|
|||||||
the next few tests check that parsing multiple sequential
|
the next few tests check that parsing multiple sequential
|
||||||
json objects in the input works as expected */
|
json objects in the input works as expected */
|
||||||
{ "null123", 9, 4, json_tokener_success, 0 },
|
{ "null123", 9, 4, json_tokener_success, 0 },
|
||||||
{ "null123" + 4, 4, 3, json_tokener_success, 1 },
|
{ &"null123"[4], 4, 3, json_tokener_success, 1 },
|
||||||
{ "nullx", 5, 4, json_tokener_success, 0 },
|
{ "nullx", 5, 4, json_tokener_success, 0 },
|
||||||
{ "nullx" + 4, 2, 0, json_tokener_error_parse_unexpected, 1 },
|
{ &"nullx"[4], 2, 0, json_tokener_error_parse_unexpected, 1 },
|
||||||
{ "{\"a\":1}{\"b\":2}",15, 7, json_tokener_success, 0 },
|
{ "{\"a\":1}{\"b\":2}",15, 7, json_tokener_success, 0 },
|
||||||
{ "{\"a\":1}{\"b\":2}" + 7,
|
{ &"{\"a\":1}{\"b\":2}"[7],
|
||||||
8, 7, json_tokener_success, 1 },
|
8, 7, json_tokener_success, 1 },
|
||||||
|
|
||||||
/* Some bad formatting. Check we get the correct error status */
|
/* Some bad formatting. Check we get the correct error status */
|
||||||
|
|||||||
Reference in New Issue
Block a user