diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/t_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t_mutex.c b/tests/t_mutex.c index e54e2fa..c0c41cc 100644 --- a/tests/t_mutex.c +++ b/tests/t_mutex.c | |||
| @@ -24,7 +24,7 @@ static void hash_for_bucket(ot_hash hash, int bucket) { | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | static void case_a_hash_names_its_bucket(void) { | 26 | static void case_a_hash_names_its_bucket(void) { |
| 27 | static const int buckets[] = {0, 1, 2, 17, 511, 512, OT_BUCKET_COUNT - 1}; | 27 | static const int buckets[] = {0, 1, 2, 17, OT_BUCKET_COUNT / 2 - 1, OT_BUCKET_COUNT / 2, OT_BUCKET_COUNT - 1}; |
| 28 | size_t i; | 28 | size_t i; |
| 29 | 29 | ||
| 30 | test_case("a hash is served by the bucket its leading bits name"); | 30 | test_case("a hash is served by the bucket its leading bits name"); |
