diff -r fd6e191f3268 -r 8fdd8d78c14b tests/test_hash_map.c --- a/tests/test_hash_map.c Sat Oct 12 19:41:04 2024 +0200 +++ b/tests/test_hash_map.c Sun Oct 13 14:06:32 2024 +0200 @@ -483,7 +483,7 @@ {"key 2", NULL}, {"key 8", "new value"}, }; -static size_t const test_map_operations_len = +static const size_t test_map_operations_len = sizeof(test_map_operations) / sizeof(struct test_map_kv); static struct test_map_kv test_map_reference[] = { {"key 1", NULL}, @@ -496,7 +496,7 @@ {"key 8", NULL}, {"key 9", NULL}, }; -static size_t const test_map_reference_len = +static const size_t test_map_reference_len = sizeof(test_map_reference) / sizeof(struct test_map_kv); static void test_map_reference_put(const char *key, const char *value) {