Home
last modified time | relevance | path

Searched refs:to_minify (Results 1 – 1 of 1) sorted by relevance

/third_party/cJSON/tests/
Dminify_tests.c46 const char to_minify[] = "{// this is {} \"some kind\" of [] comment /*, don't you see\n}"; in cjson_minify_should_remove_single_line_comments() local
48 char* minified = (char*) malloc(sizeof(to_minify)); in cjson_minify_should_remove_single_line_comments()
50 strcpy(minified, to_minify); in cjson_minify_should_remove_single_line_comments()
60 const char to_minify[] = "{ \"key\":\ttrue\r\n }"; in cjson_minify_should_remove_spaces() local
62 char* minified = (char*) malloc(sizeof(to_minify)); in cjson_minify_should_remove_spaces()
64 strcpy(minified, to_minify); in cjson_minify_should_remove_spaces()
74 const char to_minify[] = "{/* this is\n a /* multi\n //line \n {comment \"\\\" */}"; in cjson_minify_should_remove_multiline_comments() local
76 char* minified = (char*) malloc(sizeof(to_minify)); in cjson_minify_should_remove_multiline_comments()
78 strcpy(minified, to_minify); in cjson_minify_should_remove_multiline_comments()
88 const char to_minify[] = "\"this is a string \\\" \\t bla\""; in cjson_minify_should_not_modify_strings() local
[all …]