diff options
Diffstat (limited to 'test/functional/legacy/fold_spec.lua')
-rw-r--r-- | test/functional/legacy/fold_spec.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/functional/legacy/fold_spec.lua b/test/functional/legacy/fold_spec.lua index a1cfa50880..83513a3f94 100644 --- a/test/functional/legacy/fold_spec.lua +++ b/test/functional/legacy/fold_spec.lua @@ -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) |