test: fix screen assertions

This commit is contained in:
Jan Edmund Lazo
2019-09-25 01:56:29 -04:00
parent 90c2abc53f
commit 1f4c9da9c6
3 changed files with 23 additions and 23 deletions

View File

@@ -419,9 +419,9 @@ describe('ui/mouse/input', function()
meths.set_option('showtabline', 2)
screen:expect([[
{fill:test-test2 }|
testing |
mouse |
support and selectio^n |
{0:~ }|
|
]])
meths.set_var('reply', {})
@@ -539,9 +539,9 @@ describe('ui/mouse/input', function()
feed_command('tabprevious') -- go to first tab
screen:expect([[
{sel: + foo }{tab: + bar }{fill: }{tab:X}|
testing |
mouse |
support and selectio^n |
{0:~ }|
:tabprevious |
]])
feed('<LeftMouse><10,0><LeftRelease>') -- go to second tab