diff options
Diffstat (limited to 'test/functional/ex_cmds/swapfile_preserve_recover_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/swapfile_preserve_recover_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua b/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua index 105b488f69..99191a2a57 100644 --- a/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua +++ b/test/functional/ex_cmds/swapfile_preserve_recover_spec.lua @@ -438,7 +438,7 @@ describe('quitting swapfile dialog on startup stops TUI properly', function() feed('Gisometext<esc>') poke_eventloop() clear() -- Leaves a swap file behind - meths.ui_attach(80, 30, {}) + meths.nvim_ui_attach(80, 30, {}) end) after_each(function() rmdir(swapdir) @@ -459,7 +459,7 @@ describe('quitting swapfile dialog on startup stops TUI properly', function() eval("getline('$')->trim(' ', 2)") ) end) - meths.chan_send(chan, 'q') + meths.nvim_chan_send(chan, 'q') retry(nil, nil, function() eq( { '', '[Process exited 1]', '' }, @@ -491,7 +491,7 @@ describe('quitting swapfile dialog on startup stops TUI properly', function() eval("getline('$')->trim(' ', 2)") ) end) - meths.chan_send(chan, 'a') + meths.nvim_chan_send(chan, 'a') retry(nil, nil, function() eq( { '', '[Process exited 1]', '' }, @@ -531,11 +531,11 @@ describe('quitting swapfile dialog on startup stops TUI properly', function() eval("getline('$')->trim(' ', 2)") ) end) - meths.chan_send(chan, 'q') + meths.nvim_chan_send(chan, 'q') retry(nil, nil, function() eq('Press ENTER or type command to continue', eval("getline('$')->trim(' ', 2)")) end) - meths.chan_send(chan, '\r') + meths.nvim_chan_send(chan, '\r') retry(nil, nil, function() eq( { '', '[Process exited 1]', '' }, |