From de163fe7ee64e63d36dd581db16c776831cbead0 Mon Sep 17 00:00:00 2001 From: Mosder Date: Thu, 17 Sep 2026 12:37:01 +0200 Subject: feat: improved compatibility - removed possible duplicate names, exit tests now create a fork instead of relying on being able to overwrite exit function, made tester only output ASCII escape sequences for colour into a tty --- tests/ds/hashmap_tests.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ds/hashmap_tests.c') diff --git a/tests/ds/hashmap_tests.c b/tests/ds/hashmap_tests.c index 822ee2a..72965b4 100644 --- a/tests/ds/hashmap_tests.c +++ b/tests/ds/hashmap_tests.c @@ -96,7 +96,7 @@ TEST(deleting) { TEST(str_key) { HM_DEF(E, char *, int); - E *hm = hm_new(.key = STR); + E *hm = hm_new(.key = HM_STR); char *str = "key"; char *str2 = strdup(str); @@ -114,7 +114,7 @@ TEST(str_key) { TEST(ss_key) { HM_DEF(E, StringSlice, int); - E *hm = hm_new(.key = SS); + E *hm = hm_new(.key = HM_SS); char *str = "key"; char *str2 = strdup(str); -- cgit v1.2.3