test/unit: ensure event_init()

Closes #4635
References #4630
References https://github.com/neovim/neovim/pull/4070#discussion_r50626558
This commit is contained in:
Justin M. Keyes 2016-04-24 23:51:16 -04:00
parent 6e5343d230
commit 49c5689f45
2 changed files with 1 additions and 1 deletions

View File

@ -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.

View File

@ -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')