Skip to content

Commit

Permalink
Merge pull request #472 from Alanscut/parse-array
Browse files Browse the repository at this point in the history
array's item should be in the list
  • Loading branch information
Alanscut authored May 6, 2020
2 parents a82449f + 1fc755a commit 7db005e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/parse_array.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7db005e

Please sign in to comment.