| 143 | } |
| 144 | |
| 145 | static void parse_array_should_not_parse_non_arrays(void) |
| 146 | { |
| 147 | assert_not_array(""); |
| 148 | assert_not_array("["); |
| 149 | assert_not_array("]"); |
| 150 | assert_not_array("{\"hello\":[]}"); |
| 151 | assert_not_array("42"); |
| 152 | assert_not_array("3.14"); |
| 153 | assert_not_array("\"[]hello world!\n\""); |
| 154 | } |
| 155 | |
| 156 | int CJSON_CDECL main(void) |
| 157 | { |
nothing calls this directly
no test coverage detected
searching dependent graphs…