mirror of
https://github.com/neovim/neovim.git
synced 2025-10-25 20:07:09 +00:00
test/window_split_tab_spec.lua: fixup
Make the test work after the "follows cursor" changes. This "auto-resize" feature is going away soon, anyways.
This commit is contained in:
@@ -28,14 +28,14 @@ describe('terminal', function()
|
|||||||
feed('<c-\\><c-n>')
|
feed('<c-\\><c-n>')
|
||||||
execute('2split')
|
execute('2split')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
tty ready |
|
rows: 2, cols: 50 |
|
||||||
^rows: 2, cols: 50 |
|
{2:^ } |
|
||||||
========== |
|
========== |
|
||||||
tty ready |
|
|
||||||
rows: 2, cols: 50 |
|
rows: 2, cols: 50 |
|
||||||
{2: } |
|
{2: } |
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
|
{4:~ }|
|
||||||
========== |
|
========== |
|
||||||
:2split |
|
:2split |
|
||||||
]])
|
]])
|
||||||
@@ -54,14 +54,14 @@ describe('terminal', function()
|
|||||||
]])
|
]])
|
||||||
execute('wincmd p')
|
execute('wincmd p')
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
rows: 5, cols: 50 |
|
rows: 2, cols: 50 |
|
||||||
^rows: 2, cols: 50 |
|
{2:^ } |
|
||||||
========== |
|
========== |
|
||||||
rows: 5, cols: 50 |
|
|
||||||
rows: 2, cols: 50 |
|
rows: 2, cols: 50 |
|
||||||
{2: } |
|
{2: } |
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
{4:~ }|
|
{4:~ }|
|
||||||
|
{4:~ }|
|
||||||
========== |
|
========== |
|
||||||
:wincmd p |
|
:wincmd p |
|
||||||
]])
|
]])
|
||||||
|
|||||||
Reference in New Issue
Block a user