Changeset b40e60d for tests/check_util.c
- Timestamp:
- 2010-07-29T08:57:01Z (14 years ago)
- Branches:
- master
- Children:
- 2fe5eb9
- Parents:
- 3963fdd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/check_util.c
r3963fdd rb40e60d 161 161 END_TEST 162 162 163 START_TEST(test_http_encode) 164 char s[80]; 165 166 strcpy( s, "ee\xc3""\xab""ee!!..." ); 167 http_encode( s ); 168 fail_unless( strcmp( s, "ee%C3%ABee%21%21..." ) == 0 ); 169 END_TEST 170 163 171 Suite *util_suite (void) 164 172 { … … 174 182 tcase_add_test (tc_core, test_set_url_username_pwd); 175 183 tcase_add_test (tc_core, test_word_wrap); 184 tcase_add_test (tc_core, test_http_encode); 176 185 return s; 177 186 }
Note: See TracChangeset
for help on using the changeset viewer.