aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/074_global_var_in_viminfo_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/074_global_var_in_viminfo_spec.lua')
-rw-r--r--test/functional/legacy/074_global_var_in_viminfo_spec.lua6
1 files changed, 3 insertions, 3 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 f7f074c61a..445d742c1f 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 =
+local clear, command, eq, neq, eval, poke_eventloop =
helpers.clear, helpers.command, helpers.eq, helpers.neq, helpers.eval,
- helpers.wait
+ helpers.poke_eventloop
describe('storing global variables in ShaDa files', function()
local tempname = 'Xtest-functional-legacy-074'
@@ -36,7 +36,7 @@ describe('storing global variables in ShaDa files', function()
eq(test_list, eval('MY_GLOBAL_LIST'))
command('wsh! ' .. tempname)
- wait()
+ poke_eventloop()
-- Assert that the shada file exists.
neq(nil, lfs.attributes(tempname))