diff options
-rw-r--r-- | test/unit/helpers.lua | 1 | ||||
-rw-r--r-- | test/unit/os/shell_spec.lua | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua index 9b9c1fef0f..426ae2d9e0 100644 --- a/test/unit/helpers.lua +++ b/test/unit/helpers.lua @@ -140,6 +140,7 @@ do local time = cimport('./src/nvim/os/time.h') time.time_init() main.early_init() + main.event_init() end -- C constants. diff --git a/test/unit/os/shell_spec.lua b/test/unit/os/shell_spec.lua index 9fad7d02c1..93103e4e8c 100644 --- a/test/unit/os/shell_spec.lua +++ b/test/unit/os/shell_spec.lua @@ -25,7 +25,6 @@ local NULL = ffi.cast('void *', 0) describe('shell functions', function() setup(function() - cimported.event_init() -- os_system() can't work when the p_sh and p_shcf variables are unset cimported.p_sh = to_cstr('/bin/bash') cimported.p_shcf = to_cstr('-c') |