test/string_tests.c

changeset 233
bd58fdde142d
parent 232
5f2d650eade7
child 236
ffc6d0910342
--- a/test/string_tests.c	Mon Feb 20 16:04:14 2017 +0100
+++ b/test/string_tests.c	Mon Feb 20 16:57:09 2017 +0100
@@ -299,7 +299,7 @@
     UCX_TEST_ASSERT(n == 3, "ewdeb, list length must be 3");
     UCX_TEST_ASSERT(strcmp(list[0].ptr, "a") == 0, "ewdeb, fst item corrupt");
     UCX_TEST_ASSERT(strcmp(list[1].ptr, "b") == 0, "ewdeb, snd item corrupt");
-    UCX_TEST_ASSERT(strcmp(list[2].ptr, "c") == 0, "ewdeb, trd item corrupt");
+    UCX_TEST_ASSERT(strcmp(list[2].ptr, "c,") == 0, "ewdeb, trd item corrupt");
     for(int i=0;i<n;i++) {
         free(list[i].ptr);
     }

mercurial