vim-patch:8.2.2713: folding code not sufficiently tested

Problem:    Folding code not sufficiently tested.
Solution:   Add a few more test cases. (Yegappan Lakshmanan, closes vim/vim#8064)

68ffe8cade
This commit is contained in:
zeertzjq
2022-11-25 15:50:54 +08:00
parent ba360a26a2
commit 84646b80f3
2 changed files with 142 additions and 0 deletions

View File

@@ -309,5 +309,27 @@ describe('folding', function()
{1:~ }|
|
]])
feed('2G')
screen:expect([[
one |
^two |
three |
four |
{1:~ }|
{1:~ }|
{1:~ }|
|
]])
feed('k')
screen:expect([[
^one |
{2:+-- 2 lines: two····························}|
four |
{1:~ }|
{1:~ }|
{1:~ }|
{1:~ }|
|
]])
end)
end)