| 54 | } |
| 55 | |
| 56 | static void assert_parse_array(const char *json) |
| 57 | { |
| 58 | parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; |
| 59 | buffer.content = (const unsigned char*)json; |
| 60 | buffer.length = strlen(json) + sizeof(""); |
| 61 | buffer.hooks = global_hooks; |
| 62 | |
| 63 | TEST_ASSERT_TRUE(parse_array(item, &buffer)); |
| 64 | assert_is_array(item); |
| 65 | } |
| 66 | |
| 67 | static void parse_array_should_parse_empty_arrays(void) |
| 68 | { |
no test coverage detected
searching dependent graphs…