mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
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:
@@ -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([[
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user