diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-10-19 23:14:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 23:14:55 +0200 |
commit | 38efa1730f205bc2cd0da40b1fac8936eec1a835 (patch) | |
tree | 7bdf7a2d1cb9752ce9c36aecbcbfb6469fe930bb /test/functional/core | |
parent | eaee3d9297d114c81b05dd4ed104373eeb87bc11 (diff) | |
parent | 07cc231142f5810c70818007dcd720271b1c0248 (diff) | |
download | rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.tar.gz rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.tar.bz2 rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.zip |
Merge pull request #13118 from bfredl/mudholland
A Mudholland Dr. Recast
Diffstat (limited to 'test/functional/core')
-rw-r--r-- | test/functional/core/exit_spec.lua | 4 | ||||
-rw-r--r-- | test/functional/core/job_spec.lua | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/core/exit_spec.lua b/test/functional/core/exit_spec.lua index 80c65e4544..230b7f8e01 100644 --- a/test/functional/core/exit_spec.lua +++ b/test/functional/core/exit_spec.lua @@ -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}) diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua index 1155f12ffc..6d1182478a 100644 --- a/test/functional/core/job_spec.lua +++ b/test/functional/core/job_spec.lua @@ -11,7 +11,7 @@ local os_kill = helpers.os_kill local retry = helpers.retry local meths = helpers.meths local NIL = helpers.NIL -local wait = helpers.wait +local poke_eventloop = helpers.poke_eventloop local iswin = helpers.iswin local get_pathsep = helpers.get_pathsep local pathroot = helpers.pathroot @@ -428,7 +428,7 @@ describe('jobs', function() \ } let job = jobstart(['cat', '-'], g:callbacks) ]]) - wait() + poke_eventloop() source([[ function! g:JobHandler(job_id, data, event) endfunction |