From 07cc231142f5810c70818007dcd720271b1c0248 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Mon, 19 Oct 2020 20:17:51 +0200 Subject: A Mudholland Dr. Recast The commit summary maybe does not make sense, but calling a function that does not wait on anything `wait()` makes even less sense. --- test/functional/legacy/075_maparg_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/legacy/075_maparg_spec.lua') diff --git a/test/functional/legacy/075_maparg_spec.lua b/test/functional/legacy/075_maparg_spec.lua index ee2b041b51..ad6c190104 100644 --- a/test/functional/legacy/075_maparg_spec.lua +++ b/test/functional/legacy/075_maparg_spec.lua @@ -4,7 +4,7 @@ local helpers = require('test.functional.helpers')(after_each) local clear, feed = helpers.clear, helpers.feed local command, expect = helpers.command, helpers.expect -local wait = helpers.wait +local poke_eventloop = helpers.poke_eventloop describe('maparg()', function() setup(clear) @@ -25,7 +25,7 @@ describe('maparg()', function() command('map abc yy') command([[call append('$', maparg('abc'))]]) feed('Go:') - wait() + poke_eventloop() -- Outside of the range, minimum command('inoremap a') -- cgit