aboutsummaryrefslogtreecommitdiff
path: root/test/functional/terminal
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-06-03 11:06:00 +0100
committerGitHub <noreply@github.com>2023-06-03 12:06:00 +0200
commit2db719f6c2b677fcbc197b02fe52764a851523b2 (patch)
tree648885f655ea6eea2d6b5ad9409bc18c3b49e0f7 /test/functional/terminal
parentc65e2203f70cd5d66fcb8ffb26f8cef38f50e04f (diff)
downloadrneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.gz
rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.tar.bz2
rneovim-2db719f6c2b677fcbc197b02fe52764a851523b2.zip
feat(lua): rename vim.loop -> vim.uv (#22846)
Diffstat (limited to 'test/functional/terminal')
-rw-r--r--test/functional/terminal/tui_spec.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua
index 1b65c1cddc..7723b6c7e7 100644
--- a/test/functional/terminal/tui_spec.lua
+++ b/test/functional/terminal/tui_spec.lua
@@ -1554,7 +1554,7 @@ describe('TUI', function()
end)
it('no assert failure on deadly signal #21896', function()
- exec_lua([[vim.loop.kill(vim.fn.jobpid(vim.bo.channel), 'sigterm')]])
+ exec_lua([[vim.uv.kill(vim.fn.jobpid(vim.bo.channel), 'sigterm')]])
screen:expect({any = '%[Process exited 1%]'})
end)
@@ -1605,7 +1605,7 @@ describe('TUI', function()
foo |
{3:-- TERMINAL --} |
]])
- exec_lua([[vim.loop.kill(vim.fn.jobpid(vim.bo.channel), 'sigwinch')]])
+ exec_lua([[vim.uv.kill(vim.fn.jobpid(vim.bo.channel), 'sigwinch')]])
screen:expect([[
{1: } |
{4:~ }|
@@ -2517,7 +2517,7 @@ describe("TUI as a client", function()
-- No heap-use-after-free when receiving UI events after deadly signal #22184
server:request('nvim_input', ('a'):rep(1000))
- exec_lua([[vim.loop.kill(vim.fn.jobpid(vim.bo.channel), 'sigterm')]])
+ exec_lua([[vim.uv.kill(vim.fn.jobpid(vim.bo.channel), 'sigterm')]])
screen:expect({any = '%[Process exited 1%]'})
eq(0, meths.get_vvar('shell_error'))