Skip to content
Snippets Groups Projects
Commit 0dd373d81469 authored by Alan Wang's avatar Alan Wang
Browse files

Merge pull request #472 from Alanscut/parse-array

array's item should be in the list
Branches
No related tags found
No related merge requests found
...@@ -90,7 +90,8 @@ ...@@ -90,7 +90,8 @@
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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment