test: avoid consecutive mouse input at different positions (#21781)

The seconds call's position may override the first call if the first
call isn't processed yet, defeating the purpose of the first call.
This commit is contained in:
zeertzjq
2023-01-13 12:25:19 +08:00
committed by GitHub
parent 1097d239c3
commit 449c0762d3
2 changed files with 2 additions and 1 deletions

View File

@@ -1459,7 +1459,6 @@ describe('ui/ext_messages', function()
feed(":set mouse=a<cr>")
meths.input_mouse('left', 'press', '', 0, 12, 10)
poke_eventloop()
meths.input_mouse('left', 'drag', '', 0, 12, 10)
meths.input_mouse('left', 'drag', '', 0, 11, 10)
feed("<c-l>")
feed(":set cmdheight<cr>")