diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2021-10-20 21:27:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 21:27:40 +0200 |
commit | d0f10a7addc17149d7e63ff20705762c357eb469 (patch) | |
tree | f81522f4eac37155b11d014554d196338a4f3925 /test/functional/lua/vim_spec.lua | |
parent | 81717d2461a673000a0c44b586652575daf0ddc6 (diff) | |
parent | 12bccc7dd19e55068156ec5fb55bbf960ec4aad8 (diff) | |
download | rneovim-d0f10a7addc17149d7e63ff20705762c357eb469.tar.gz rneovim-d0f10a7addc17149d7e63ff20705762c357eb469.tar.bz2 rneovim-d0f10a7addc17149d7e63ff20705762c357eb469.zip |
Merge pull request #14794 from BK1603/gdbserver_fix
functionaltest: fix running tests under gdbserver
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
-rw-r--r-- | test/functional/lua/vim_spec.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua index 419b96a572..3123063b8c 100644 --- a/test/functional/lua/vim_spec.lua +++ b/test/functional/lua/vim_spec.lua @@ -2059,6 +2059,8 @@ describe('lua stdlib', function() -- Would wait ten seconds if results blocked. wait_result = vim.wait(10000, function() return vim.g.timer_result end) + timer:close() + return { time = (start_time + 5) > get_time(), wait_result = wait_result, @@ -2078,6 +2080,8 @@ describe('lua stdlib', function() wait_result = vim.wait(300, function() return vim.g.timer_result end, nil, true) + timer:close() + return { wait_result = wait_result, } |