mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
Merge pull request #472 from Alanscut/parse-array
array's item should be in the list
This commit is contained in:
commit
7db005e028
@ -90,7 +90,8 @@ static void parse_array_should_parse_arrays_with_one_element(void)
|
||||
|
||||
assert_parse_array("[[]]");
|
||||
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);
|
||||
reset(item);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user