diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-02 22:38:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-02 22:38:36 -0800 |
commit | b1e4ec1c2a08981683b2355715a421c0bfb64644 (patch) | |
tree | 4b19d5f14230929c226ea916c1538fb492e511c0 /test/functional/terminal/tui_spec.lua | |
parent | 22b52dd462e5dc9d5429305215bfb20aa20517c5 (diff) | |
parent | a3b6c2a3dc5576db45fe4e893cfb8482af591c92 (diff) | |
download | rneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.tar.gz rneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.tar.bz2 rneovim-b1e4ec1c2a08981683b2355715a421c0bfb64644.zip |
Merge #11500 from justinmk/api-deprecate
API: rename nvim_execute_lua, deprecate nvim_command_output
Diffstat (limited to 'test/functional/terminal/tui_spec.lua')
-rw-r--r-- | test/functional/terminal/tui_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index 676d6ef76d..077e9dc7d5 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -486,7 +486,7 @@ describe('TUI', function() end) it('paste: recovers from vim.paste() failure', function() - child_session:request('nvim_execute_lua', [[ + child_session:request('nvim_exec_lua', [[ _G.save_paste_fn = vim.paste vim.paste = function(lines, phase) error("fake fail") end ]], {}) @@ -544,7 +544,7 @@ describe('TUI', function() {3:-- TERMINAL --} | ]]} -- Paste works if vim.paste() succeeds. - child_session:request('nvim_execute_lua', [[ + child_session:request('nvim_exec_lua', [[ vim.paste = _G.save_paste_fn ]], {}) feed_data('\027[200~line A\nline B\n\027[201~') @@ -563,7 +563,7 @@ describe('TUI', function() it('paste: vim.paste() cancel (retval=false) #10865', function() -- This test only exercises the "cancel" case. Use-case would be "dangling -- paste", but that is not implemented yet. #10865 - child_session:request('nvim_execute_lua', [[ + child_session:request('nvim_exec_lua', [[ vim.paste = function(lines, phase) return false end ]], {}) feed_data('\027[200~line A\nline B\n\027[201~') |