tests/test_buffer.c

changeset 1026
ca20f9ffcb62
parent 1024
8f99f6c28bd3
parent 1023
989e144c912a
--- a/tests/test_buffer.c	Wed Dec 18 15:36:45 2024 +0100
+++ b/tests/test_buffer.c	Wed Dec 18 15:40:13 2024 +0100
@@ -977,7 +977,7 @@
         CX_TEST_ASSERT(buf.size == 8);
         CX_TEST_ASSERT(buf.pos == 8);
         CX_TEST_ASSERT(buf.capacity > 8);
-        CX_TEST_ASSERT(0 == memcmp(buf.space, "preptest\0A", 10));
+        CX_TEST_ASSERT(0 == memcmp(buf.space, "preptest\0", 9));
     }
     cxBufferDestroy(&buf);
 }

mercurial