diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-10-19 23:14:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 23:14:55 +0200 |
commit | 38efa1730f205bc2cd0da40b1fac8936eec1a835 (patch) | |
tree | 7bdf7a2d1cb9752ce9c36aecbcbfb6469fe930bb /test/functional/ui/multigrid_spec.lua | |
parent | eaee3d9297d114c81b05dd4ed104373eeb87bc11 (diff) | |
parent | 07cc231142f5810c70818007dcd720271b1c0248 (diff) | |
download | rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.tar.gz rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.tar.bz2 rneovim-38efa1730f205bc2cd0da40b1fac8936eec1a835.zip |
Merge pull request #13118 from bfredl/mudholland
A Mudholland Dr. Recast
Diffstat (limited to 'test/functional/ui/multigrid_spec.lua')
-rw-r--r-- | test/functional/ui/multigrid_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/multigrid_spec.lua b/test/functional/ui/multigrid_spec.lua index e4d1187dea..6601c2d68e 100644 --- a/test/functional/ui/multigrid_spec.lua +++ b/test/functional/ui/multigrid_spec.lua @@ -4,7 +4,7 @@ local clear = helpers.clear local feed, command, insert = helpers.feed, helpers.command, helpers.insert local eq = helpers.eq local meths = helpers.meths -local wait = helpers.wait +local poke_eventloop = helpers.poke_eventloop describe('ext_multigrid', function() @@ -1846,8 +1846,8 @@ describe('ext_multigrid', function() meths.input_mouse('left', 'press', '', 1,6, 20) -- TODO(bfredl): "batching" input_mouse is formally not supported yet. -- Normally it should work fine in async context when nvim is not blocked, - -- but add a wait be sure. - wait() + -- but add a poke_eventloop be sure. + poke_eventloop() meths.input_mouse('left', 'drag', '', 1, 4, 20) screen:expect{grid=[[ ## grid 1 @@ -1921,7 +1921,7 @@ describe('ext_multigrid', function() ]]} meths.input_mouse('left', 'press', '', 1,8, 26) - wait() + poke_eventloop() meths.input_mouse('left', 'drag', '', 1, 6, 30) screen:expect{grid=[[ ## grid 1 |