mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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')
|
local time = cimport('./src/nvim/os/time.h')
|
||||||
time.time_init()
|
time.time_init()
|
||||||
main.early_init()
|
main.early_init()
|
||||||
|
main.event_init()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- C constants.
|
-- C constants.
|
||||||
|
@ -25,7 +25,6 @@ local NULL = ffi.cast('void *', 0)
|
|||||||
|
|
||||||
describe('shell functions', function()
|
describe('shell functions', function()
|
||||||
setup(function()
|
setup(function()
|
||||||
cimported.event_init()
|
|
||||||
-- os_system() can't work when the p_sh and p_shcf variables are unset
|
-- os_system() can't work when the p_sh and p_shcf variables are unset
|
||||||
cimported.p_sh = to_cstr('/bin/bash')
|
cimported.p_sh = to_cstr('/bin/bash')
|
||||||
cimported.p_shcf = to_cstr('-c')
|
cimported.p_shcf = to_cstr('-c')
|
||||||
|
Loading…
Reference in New Issue
Block a user