diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-08 22:00:50 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-08 22:00:50 +0300 |
commit | e31aab8b61565766bbd411fae38550f9ae802dd9 (patch) | |
tree | e3858969a6ca5eb04c93cc7bbad0e3a63037193f /test/functional/helpers.lua | |
parent | 47b451c52b105dd4bdb06da82a5bc7359873036c (diff) | |
download | rneovim-e31aab8b61565766bbd411fae38550f9ae802dd9.tar.gz rneovim-e31aab8b61565766bbd411fae38550f9ae802dd9.tar.bz2 rneovim-e31aab8b61565766bbd411fae38550f9ae802dd9.zip |
functests: Refactor legacy/029_join test
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 335cf3c3ff..7793a9a739 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -304,7 +304,7 @@ end -- Executes an ex-command by user input. Because nvim_input() is used, VimL -- errors will not manifest as client (lua) errors. Use command() for that. -local function execute(...) +local function feed_command(...) for _, v in ipairs({...}) do if v:sub(1, 1) ~= '/' then -- not a search command, prefix with colon @@ -565,7 +565,8 @@ local M = { insert = insert, iswin = iswin, feed = feed, - execute = execute, + feed_command = feed_command, + execute = feed_command, -- FIXME Remove eval = nvim_eval, call = nvim_call, command = nvim_command, |