Lines Matching refs:to_minify
46 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
90 char* minified = (char*) malloc(sizeof(to_minify)); in cjson_minify_should_not_modify_strings()
92 strcpy(minified, to_minify); in cjson_minify_should_not_modify_strings()
95 TEST_ASSERT_EQUAL_STRING(to_minify, minified); in cjson_minify_should_not_modify_strings()
101 const char to_minify[] = in cjson_minify_should_minify_json() local
146 char *buffer = (char*) malloc(sizeof(to_minify)); in cjson_minify_should_minify_json()
147 strcpy(buffer, to_minify); in cjson_minify_should_minify_json()