tests: check highlights work in open folds

to prevent a regression we just witnessed
This commit is contained in:
Matthieu Coudron 2020-12-30 23:31:05 +01:00
parent 61c9d2a213
commit 9c68aac37b

View File

@ -480,6 +480,11 @@ describe('search highlighting', function()
{4:search hit BOTTOM, continuing at TOP} |
]])
-- check hilights work also in folds
feed("zf4j")
command("%foldopen")
screen:expect_unchanged()
feed_command("call clearmatches()")
screen:expect([[
very spec{2:^ial te}xt |