From 209745f525d32b9e479ca3390111593b3055deb4 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Wed, 17 Aug 2022 22:21:56 +0300 Subject: [PATCH] Update tests --- tests/src/dict/src/random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);