--- a/tests/test_hash_map.c Sat Dec 13 12:50:37 2025 +0100 +++ b/tests/test_hash_map.c Sat Dec 13 12:54:56 2025 +0100 @@ -246,11 +246,11 @@ CxMap *map = cxHashMapCreate(allocator, sizeof(cxstring), 8); // define some strings - cxstring s1 = CX_STR("this"); - cxstring s2 = CX_STR("is"); - cxstring s3 = CX_STR("a"); - cxstring s4 = CX_STR("test"); - cxstring s5 = CX_STR("setup"); + cxstring s1 = cx_str("this"); + cxstring s2 = cx_str("is"); + cxstring s3 = cx_str("a"); + cxstring s4 = cx_str("test"); + cxstring s5 = cx_str("setup"); // put them into the map cxMapPut(map, "s1", &s1); @@ -292,8 +292,8 @@ CX_TEST(test_hash_map_integer_keys) { CxMap *map = cxHashMapCreateSimple(sizeof(cxstring)); CX_TEST_DO { - cxstring s1 = CX_STR("hello"); - cxstring s2 = CX_STR("world"); + cxstring s1 = cx_str("hello"); + cxstring s2 = cx_str("world"); cxMapPut(map, UINT32_C(70875), &s1); cxMapPut(map, UINT64_C(5785133750), &s2);