test/string_tests.c

changeset 134
4d320dc3a7af
parent 123
7fb0f74517c5
child 146
aa376dba1ba8
--- a/test/string_tests.c	Fri Aug 09 10:24:02 2013 +0200
+++ b/test/string_tests.c	Fri Aug 09 11:32:10 2013 +0200
@@ -28,7 +28,7 @@
 
 #include "string_tests.h"
 
-UCX_TEST_IMPLEMENT(test_sstr) {
+UCX_TEST(test_sstr) {
     sstr_t s1 = sstr((char*)"1234");
     sstr_t s2 = sstrn((char*)"ab", 2);
     
@@ -40,7 +40,7 @@
     UCX_TEST_END
 }
 
-UCX_TEST_IMPLEMENT(test_sstr_len_cat) {
+UCX_TEST(test_sstr_len_cat) {
     sstr_t s1 = ST("1234");
     sstr_t s2 = ST(".:.:.");
     sstr_t s3 = ST("X");
@@ -69,7 +69,7 @@
     free(cat.ptr);
 }
 
-UCX_TEST_IMPLEMENT(test_sstrsplit) {
+UCX_TEST(test_sstrsplit) {
 
     const char *original = "this,is,a,csv,string";
     sstr_t test = ST("this,is,a,csv,string"); /* use copy of original here */
@@ -193,7 +193,7 @@
     UCX_TEST_END
 }
 
-UCX_TEST_IMPLEMENT(test_sstrtrim) {
+UCX_TEST(test_sstrtrim) {
     sstr_t t1 = sstrtrim(sstr((char*)"  ein test   "));
     sstr_t t2 = sstrtrim(sstr((char*)"abc"));
     sstr_t t3 = sstrtrim(sstr((char*)" 123"));

mercurial