test/string_tests.c

changeset 173
31a8682fffb7
parent 149
3bf87676d42d
child 177
11ad03783baf
equal deleted inserted replaced
172:7084e8e8433c 173:31a8682fffb7
117 117
118 UCX_TEST(test_sstrsplit) { 118 UCX_TEST(test_sstrsplit) {
119 119
120 const char *original = "this,is,a,csv,string"; 120 const char *original = "this,is,a,csv,string";
121 sstr_t test = ST("this,is,a,csv,string"); /* use copy of original here */ 121 sstr_t test = ST("this,is,a,csv,string"); /* use copy of original here */
122 size_t n; 122 ssize_t n;
123 sstr_t *list; 123 sstr_t *list;
124 124
125 UCX_TEST_BEGIN 125 UCX_TEST_BEGIN
126 126
127 /* Nullpointer check */ 127 /* Nullpointer check */

mercurial