mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-27 14:14:07 +08:00
array's item should be in the list
This commit is contained in:
parent
a82449fa3e
commit
1fc755ac09
@ -90,7 +90,8 @@ static void parse_array_should_parse_arrays_with_one_element(void)
|
|||||||
|
|
||||||
assert_parse_array("[[]]");
|
assert_parse_array("[[]]");
|
||||||
assert_has_child(item);
|
assert_has_child(item);
|
||||||
assert_is_array(item->child);
|
TEST_ASSERT_NOT_NULL(item->child);
|
||||||
|
assert_has_type(item->child, cJSON_Array);
|
||||||
assert_has_no_child(item->child);
|
assert_has_no_child(item->child);
|
||||||
reset(item);
|
reset(item);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user