MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / cjson_minify_should_not_loop_infinitely

Function cjson_minify_should_not_loop_infinitely

tests/minify_tests.c:155–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static void cjson_minify_should_not_loop_infinitely(void) {
156 char string[] = { '8', ' ', '/', ' ', '5', '\n', '\0' };
157 /* this should not be an infinite loop */
158 cJSON_Minify(string);
159}
160
161int CJSON_CDECL main(void)
162{

Callers

nothing calls this directly

Calls 1

cJSON_MinifyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…