vim-patch:8.2.3102: test for crash fix does not fail without the fix (#20018)

Problem:    Test for crash fix does not fail without the fix.
Solution:   Adjust the test sequence. (closes vim/vim#8506)
3777d6e32b

Cherry-pick CheckUnix from patch 8.2.1432.
This commit is contained in:
zeertzjq
2022-08-31 09:41:00 +08:00
committed by GitHub
parent 5ff2ea6687
commit f4274d0f62
3 changed files with 120 additions and 31 deletions

View File

@@ -5,6 +5,7 @@ local command = helpers.command
local feed = helpers.feed
local feed_command = helpers.feed_command
local exec = helpers.exec
local pesc = helpers.pesc
describe('cmdline', function()
before_each(clear)
@@ -158,7 +159,7 @@ describe('cmdwin', function()
command('set more')
command('autocmd WinNew * highlight')
feed('q:')
screen:expect({any = '{3:%-%- More %-%-}^'})
screen:expect({any = pesc('{3:-- More --}^')})
feed('q')
screen:expect([[
|