vim-patch:8.1.2185: syntax test fails

Problem:    Syntax test fails.
Solution:   Add missing file patch.
bbfd1562ae
This commit is contained in:
Jan Edmund Lazo
2019-10-20 05:59:29 -04:00
parent 02393a0c74
commit f4cbe96488

View File

@@ -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)