aboutsummaryrefslogtreecommitdiff
path: root/tests/ds
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-12 20:06:13 +0200
committerMosder <git@mosder.eu>2026-09-12 20:11:03 +0200
commit979de81cc18784dd88516655a20650ce69196096 (patch)
tree4221237da1efaf2a7901669123ce5baf168ea4da /tests/ds
parent5f5d33d07a0cd28f0bf8dd4bd106d355bf705a18 (diff)
fix: fixed stale cap in rehash and added an error when MOS_HM_LOAD_FACTOR would have an incorrect value
Diffstat (limited to 'tests/ds')
-rw-r--r--tests/ds/hashmap_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ds/hashmap_tests.c b/tests/ds/hashmap_tests.c
index 844ffb2..b6983fa 100644
--- a/tests/ds/hashmap_tests.c
+++ b/tests/ds/hashmap_tests.c
@@ -1,4 +1,5 @@
#define _GNU_SOURCE
+#define MOS_HM_LOAD_FACTOR 1
#include "hashmap_tests.h"
#include "moslib/ds/hashmap.h"