mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
test/unit: ensure event_init()
Closes #4635 References #4630 References https://github.com/neovim/neovim/pull/4070#discussion_r50626558
This commit is contained in:
parent
6e5343d230
commit
49c5689f45
@ -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.
|
||||
|
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user