aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/051_highlight_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/legacy/051_highlight_spec.lua')
-rw-r--r--test/functional/legacy/051_highlight_spec.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/legacy/051_highlight_spec.lua b/test/functional/legacy/051_highlight_spec.lua
index 0c9c9621ee..d3f2897493 100644
--- a/test/functional/legacy/051_highlight_spec.lua
+++ b/test/functional/legacy/051_highlight_spec.lua
@@ -5,7 +5,7 @@ local helpers = require('test.functional.helpers')(after_each)
local clear, feed = helpers.clear, helpers.feed
local expect = helpers.expect
local eq = helpers.eq
-local wait = helpers.wait
+local poke_eventloop = helpers.poke_eventloop
local exc_exec = helpers.exc_exec
local feed_command = helpers.feed_command
@@ -34,7 +34,7 @@ describe(':highlight', function()
-- More --^ |
]])
feed('q')
- wait() -- wait until we're back to normal
+ poke_eventloop() -- wait until we're back to normal
feed_command('hi Search')
feed_command('hi Normal')