aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMosder <git@mosder.eu>2026-09-28 10:46:02 +0200
committerMosder <git@mosder.eu>2026-09-28 10:46:02 +0200
commitb79ccf95459e7edb303dabfe3a26e624bd9d8679 (patch)
tree45e4e2bf8513e1195057fdcff9ec0fe193533bb7 /tests
parent4fdedc4fa905a14a2fe0334249b71ff0e2459b09 (diff)
refactor: removed unnecessary includes
Diffstat (limited to 'tests')
-rw-r--r--tests/ds/array_tests.c2
-rw-r--r--tests/string_tests.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/ds/array_tests.c b/tests/ds/array_tests.c
index 975443c..3f79b96 100644
--- a/tests/ds/array_tests.c
+++ b/tests/ds/array_tests.c
@@ -1,5 +1,5 @@
-#include "array_tests.h"
#define MOS_ARR_INIT_CAP 8
+#include "array_tests.h"
#include "moslib/ds/array.h"
#include <string.h>
diff --git a/tests/string_tests.c b/tests/string_tests.c
index 8ca0dcd..282927c 100644
--- a/tests/string_tests.c
+++ b/tests/string_tests.c
@@ -3,8 +3,10 @@
#include "moslib/string.h"
#include "string_tests.h"
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "moslib/ds/array.h"