diff -r db8299984bfe -r 6a842bd49fea tests/test_kv_list.c --- a/tests/test_kv_list.c Mon Dec 22 15:47:59 2025 +0100 +++ b/tests/test_kv_list.c Mon Dec 22 16:12:20 2025 +0100 @@ -592,9 +592,9 @@ CX_TEST_ASSERT(*y == 11); // removing the element - CX_TEST_ASSERT(0 == cxMapRemove(map, cx_strn(key->data, key->len))); + CX_TEST_ASSERT(0 == cxMapRemove(map, cx_hash_key_as_string(key))); key = cxKvListGetKey(list, 1); - CX_TEST_ASSERT(0 == cx_strcmp("efg", cx_strn(key->data, key->len))); + CX_TEST_ASSERT(0 == cx_strcmp("efg", cx_hash_key_as_string(key))); // remove the key of element CX_TEST_ASSERT(0 == cxKvListRemoveKey(list, 1));