diff -r 439407fc29e1 -r ca20f9ffcb62 tests/test_buffer.c --- 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); }