Lines Matching defs:tabesc
44 static const struct strinput tabesc[] = {
97 for (i = 0; i < N_ELEMENTS(tabesc); i++) {
98 test_assert(strcmp(t_str_tabunescape(tabesc[i].output),
99 tabesc[i].input) == 0);
100 test_assert(strcmp(str_tabunescape(t_strdup_noconst(tabesc[i].output)),
101 tabesc[i].input) == 0);
102 test_assert(strcmp(str_tabescape(tabesc[i].input),
103 tabesc[i].output) == 0);
105 str_append_tabunescaped(str, tabesc[i].output, strlen(tabesc[i].output));
106 test_assert(strcmp(str_c(str), tabesc[i].input) == 0);