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"