aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-17 01:08:48 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-04-27 16:19:40 +0200
commit17291642bd9a58c39fb4d61f6b6170829a47c73e (patch)
tree1f4189cd6608f6b9c62a48e180f389f0090b3225 /test/functional/legacy
parentf0a7e3fc9a6057d7e3e060d2de37e4fda9239046 (diff)
downloadrneovim-17291642bd9a58c39fb4d61f6b6170829a47c73e.tar.gz
rneovim-17291642bd9a58c39fb4d61f6b6170829a47c73e.tar.bz2
rneovim-17291642bd9a58c39fb4d61f6b6170829a47c73e.zip
test: clear(): `args_rm` parameter
Diffstat (limited to 'test/functional/legacy')
-rw-r--r--test/functional/legacy/074_global_var_in_viminfo_spec.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/functional/legacy/074_global_var_in_viminfo_spec.lua b/test/functional/legacy/074_global_var_in_viminfo_spec.lua
index e17b463e30..f7f074c61a 100644
--- a/test/functional/legacy/074_global_var_in_viminfo_spec.lua
+++ b/test/functional/legacy/074_global_var_in_viminfo_spec.lua
@@ -2,9 +2,9 @@
local helpers = require('test.functional.helpers')(after_each)
local lfs = require('lfs')
-local clear, command, eq, neq, eval, wait, spawn =
+local clear, command, eq, neq, eval, wait =
helpers.clear, helpers.command, helpers.eq, helpers.neq, helpers.eval,
- helpers.wait, helpers.spawn
+ helpers.wait
describe('storing global variables in ShaDa files', function()
local tempname = 'Xtest-functional-legacy-074'
@@ -14,9 +14,7 @@ describe('storing global variables in ShaDa files', function()
end)
it('is working', function()
- local nvim2 = spawn({helpers.nvim_prog, '-u', 'NONE',
- '-i', 'Xviminfo', '--embed'})
- helpers.set_session(nvim2)
+ clear{args_rm={'-i'}, args={'-i', 'Xviminfo'}}
local test_dict = {foo = 1, bar = 0, longvarible = 1000}
local test_list = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,