aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-17 12:37:01 +0200
committerMosder <git@mosder.eu>2026-09-17 12:37:11 +0200
commitde163fe7ee64e63d36dd581db16c776831cbead0 (patch)
tree57f9861bd63a5479c8ee1d829a00d3b4ab053bba /tests
parent33e2e9d8aff7ee16aa5c071df93d6f9c0a37e53f (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/ds/hashmap_tests.c4
1 files changed, 2 insertions, 2 deletions
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);