diff --git a/tests/src/dict/src/random.c b/tests/src/dict/src/random.c index 0218398..1149260 100644 --- a/tests/src/dict/src/random.c +++ b/tests/src/dict/src/random.c @@ -9,7 +9,7 @@ static int remove_callback(const void* k, vtype kt, void* v, vtype vt, void* _) if (!d->n--) { print_container_value(0, k, kt, 0, d->hp); - if (libcdsb_dict_get(d->x, k, kt, 0, 0, 1) == 0) { + if (libcdsb_dict_find(d->x, k, kt, 0, 0, 1) == 0) { printf("\e[%dG\e[32;1mSUCCESS\e[m\n", d->hp+1); } else printf("\e[%dG\e[31;1mFAILURE\e[m\n", d->hp+1);