From f6033d0c4f006809b5989ecfbaad6e4dc1b59143 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Sat, 4 Jun 2022 22:17:03 +0300 Subject: [PATCH] Update used array symbols --- tests/src/array/change.c | 4 ++-- tests/src/array/plug.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/src/array/change.c b/tests/src/array/change.c index 92a6fa0..989193a 100644 --- a/tests/src/array/change.c +++ b/tests/src/array/change.c @@ -18,8 +18,8 @@ int main(int argc, char** argv) { array_print(&x, "source"); array_print(&y, "cutted"); - array_remove_by_index(&x, -1); - array_remove_by_index(&y, -1); + array_remove(&x, -1); + array_remove(&y, -1); array_print(&x, "source (last removed)"); array_print(&y, "cutted (last removed)"); diff --git a/tests/src/array/plug.h b/tests/src/array/plug.h index 8e17da4..63e22d0 100644 --- a/tests/src/array/plug.h +++ b/tests/src/array/plug.h @@ -3,7 +3,7 @@ #include #include "../../../include/extra/vtype.h" -#include "../../../include/array.h" +#include "../../../include/extra/array.h" #include "../../include/random.h" #include "../../include/test.h"