mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
test(ui/mouse_spec): make sure click is processed (#27412)
This commit is contained in:
parent
7ab003ec79
commit
4948fa42ef
@ -188,6 +188,9 @@ describe('ui/mouse/input', function()
|
||||
|
|
||||
]])
|
||||
feed('<LeftMouse><11,0>')
|
||||
-- Prevent the case where screen:expect() with "unchanged" returns too early,
|
||||
-- causing the click position to be overwritten by the next drag.
|
||||
poke_eventloop()
|
||||
screen:expect {
|
||||
grid = [[
|
||||
{tab: + foo }{sel: + bar }{fill: }{tab:X}|
|
||||
@ -282,6 +285,9 @@ describe('ui/mouse/input', function()
|
||||
|
|
||||
]])
|
||||
feed('<LeftMouse><11,0>')
|
||||
-- Prevent the case where screen:expect() with "unchanged" returns too early,
|
||||
-- causing the click position to be overwritten by the next drag.
|
||||
poke_eventloop()
|
||||
screen:expect {
|
||||
grid = [[
|
||||
{tab: + foo }{sel: + bar }{fill: }{tab:X}|
|
||||
|
Loading…
Reference in New Issue
Block a user