mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
tests: parse_objects: Fix name of test
This commit is contained in:
parent
b6abef94ff
commit
983a4cd286
@ -76,7 +76,7 @@ static void parse_object_should_parse_empty_objects(void)
|
|||||||
reset(item);
|
reset(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void parse_array_should_parse_arrays_with_one_element(void)
|
static void parse_object_should_parse_objects_with_one_element(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
assert_parse_object("{\"one\":1}");
|
assert_parse_object("{\"one\":1}");
|
||||||
@ -163,6 +163,6 @@ int main(void)
|
|||||||
RUN_TEST(parse_object_should_parse_empty_objects);
|
RUN_TEST(parse_object_should_parse_empty_objects);
|
||||||
RUN_TEST(parse_object_should_not_parse_non_objects);
|
RUN_TEST(parse_object_should_not_parse_non_objects);
|
||||||
RUN_TEST(parse_object_should_parse_objects_with_multiple_elements);
|
RUN_TEST(parse_object_should_parse_objects_with_multiple_elements);
|
||||||
RUN_TEST(parse_array_should_parse_arrays_with_one_element);
|
RUN_TEST(parse_object_should_parse_objects_with_one_element);
|
||||||
return UNITY_END();
|
return UNITY_END();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user