mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
vim-patch:8.1.2185: syntax test fails
Problem: Syntax test fails.
Solution: Add missing file patch.
bbfd1562ae
This commit is contained in:
@@ -519,6 +519,7 @@ func Test_syntax_c()
|
|||||||
\ ' for (int i = 0; i < count; ++i) {',
|
\ ' for (int i = 0; i < count; ++i) {',
|
||||||
\ ' break;',
|
\ ' break;',
|
||||||
\ ' }',
|
\ ' }',
|
||||||
|
\ " Note: asdf",
|
||||||
\ '}',
|
\ '}',
|
||||||
\ ], 'Xtest.c')
|
\ ], 'Xtest.c')
|
||||||
|
|
||||||
@@ -526,7 +527,8 @@ func Test_syntax_c()
|
|||||||
" response to t_RB corrects it to "light".
|
" response to t_RB corrects it to "light".
|
||||||
let $COLORFGBG = '15;0'
|
let $COLORFGBG = '15;0'
|
||||||
|
|
||||||
let buf = RunVimInTerminal('Xtest.c', {})
|
let buf = RunVimInTerminal('Xtest.c', #{rows: 22})
|
||||||
|
call term_sendkeys(buf, ":syn keyword Search Note\r")
|
||||||
call VerifyScreenDump(buf, 'Test_syntax_c_01', {})
|
call VerifyScreenDump(buf, 'Test_syntax_c_01', {})
|
||||||
call StopVimInTerminal(buf)
|
call StopVimInTerminal(buf)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user