diff options
author | ZyX <kp-pav@yandex.ru> | 2015-04-26 15:31:39 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-08 21:59:52 +0300 |
commit | e143be7f3da154db20a0fc3b709a3ab240c0ec7f (patch) | |
tree | c05e53ff582bcf2a8a683d4ddd8b62b92ca393c0 /test/functional/helpers.lua | |
parent | 5e34d4873b760e038093596e5d44fa0e8ee20036 (diff) | |
download | rneovim-e143be7f3da154db20a0fc3b709a3ab240c0ec7f.tar.gz rneovim-e143be7f3da154db20a0fc3b709a3ab240c0ec7f.tar.bz2 rneovim-e143be7f3da154db20a0fc3b709a3ab240c0ec7f.zip |
functests: Add tests for ShaDa variables dumping/reading
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index 80cb1e5ce3..a6f4f7c2e5 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -44,11 +44,15 @@ elseif os.getenv('GDB') then end if prepend_argv then + local new_nvim_argv = {} local len = #prepend_argv + for i = 1, len do + new_nvim_argv[i] = prepend_argv[i] + end for i = 1, #nvim_argv do - prepend_argv[i + len] = nvim_argv[i] + new_nvim_argv[i + len] = nvim_argv[i] end - nvim_argv = prepend_argv + nvim_argv = new_nvim_argv end local session, loop_running, loop_stopped, last_error @@ -338,6 +342,7 @@ local exc_exec = function(cmd) end return { + prepend_argv = prepend_argv, clear = clear, spawn = spawn, dedent = dedent, |