summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/nxt_lib_unit_test.c2
-rw-r--r--test/nxt_utf8_file_name_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/nxt_lib_unit_test.c b/test/nxt_lib_unit_test.c
index 2dc6e2b7..669b0228 100644
--- a/test/nxt_lib_unit_test.c
+++ b/test/nxt_lib_unit_test.c
@@ -9,7 +9,7 @@
extern char **environ;
-nxt_module_init_t nxt_init_modules[0];
+nxt_module_init_t nxt_init_modules[1];
nxt_uint_t nxt_init_modules_n;
diff --git a/test/nxt_utf8_file_name_test.c b/test/nxt_utf8_file_name_test.c
index 4481ad38..9eccc147 100644
--- a/test/nxt_utf8_file_name_test.c
+++ b/test/nxt_utf8_file_name_test.c
@@ -12,7 +12,7 @@ extern char **environ;
static nxt_int_t nxt_utf8_file_name_test(nxt_thread_t *thr);
-nxt_module_init_t nxt_init_modules[0];
+nxt_module_init_t nxt_init_modules[1];
nxt_uint_t nxt_init_modules_n;