Skip to content

Commit 6692a9d

Browse files
committed
h
1 parent 3ff6133 commit 6692a9d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/compiles.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void check_hashtable(void) {
199199
assert(*v == 6);
200200

201201
auto failed_index = fp_hash_table_double_size_and_rehash(table);
202-
assert(failed_index == FP_NOT_FOUND);
202+
assert(failed_index == fp_not_found);
203203

204204
key = 5;
205205
v = fp_hash_table_find(table, key);

tests/fp.tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ TEST_SUITE("LibFP") {
410410
CHECK(*v == 6);
411411

412412
auto failed_index = fp_hash_table_double_size_and_rehash(table);
413-
REQUIRE(failed_index == FP_NOT_FOUND);
413+
REQUIRE(failed_index == fp_not_found);
414414

415415
key = 5;
416416
v = fp_hash_table_find(table, key);

tests/fp.tests.cpp-api.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ TEST_SUITE("LibFP::C++") {
249249
CHECK(*v == 6);
250250

251251
auto failed_index = table.double_size_and_rehash();
252-
REQUIRE(failed_index == FP_NOT_FOUND);
252+
REQUIRE(failed_index == fp_not_found);
253253

254254
CHECK(*table.find(5) == 5);
255255
CHECK(*table.find(6) == 6);

0 commit comments

Comments
 (0)