mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
A Mudholland Dr. Recast
The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense.
This commit is contained in:
@@ -8,7 +8,7 @@ local run = helpers.run
|
||||
local funcs = helpers.funcs
|
||||
local nvim_prog = helpers.nvim_prog
|
||||
local redir_exec = helpers.redir_exec
|
||||
local wait = helpers.wait
|
||||
local poke_eventloop = helpers.poke_eventloop
|
||||
|
||||
describe('v:exiting', function()
|
||||
local cid
|
||||
@@ -52,7 +52,7 @@ describe(':cquit', function()
|
||||
local function test_cq(cmdline, exit_code, redir_msg)
|
||||
if redir_msg then
|
||||
eq('\n' .. redir_msg, redir_exec(cmdline))
|
||||
wait()
|
||||
poke_eventloop()
|
||||
eq(2, eval("1+1")) -- Still alive?
|
||||
else
|
||||
funcs.system({nvim_prog, '-u', 'NONE', '-i', 'NONE', '--headless', '--cmd', cmdline})
|
||||
|
||||
Reference in New Issue
Block a user