MCPcopy Index your code
hub / github.com/DaveGamble/cJSON / parse_array_should_not_parse_non_arrays

Function parse_array_should_not_parse_non_arrays

tests/parse_array.c:145–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145static 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
156int CJSON_CDECL main(void)
157{

Callers

nothing calls this directly

Calls 1

assert_not_arrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…