mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user