tests: test for redrawing tabline when msgsep marker goes outside screen

This commit is contained in:
Björn Linse
2018-07-23 21:08:36 +02:00
parent c8e7a447c5
commit ed5ac84ab0

View File

@@ -354,6 +354,43 @@ local function screen_tests(newgrid)
{0:~ }|
|
]])
feed(':echo "'..string.rep('x\\n', 12)..'"<cr>')
screen:expect([[
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
x |
|
{7:Press ENTER or type command to continue}^ |
]])
feed('<cr>')
screen:expect([[
{4: [No Name] }{2: [No Name] }{3: }{4:X}|
^ |
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
{0:~ }|
|
]])
end)
end)