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 */ |