Mercurial > vim
changeset 18382:3fd7d544eedb v8.1.2185
patch 8.1.2185: syntax test fails
Commit: https://github.com/vim/vim/commit/bbfd1562aeaa5b40b6451effc399846b692d6992
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 19 20:38:15 2019 +0200
patch 8.1.2185: syntax test fails
Problem: Syntax test fails.
Solution: Add missing file patch.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Oct 2019 20:45:04 +0200 |
parents | afd24c11369c |
children | 5b2587ee4f23 |
files | src/testdir/test_syntax.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_syntax.vim +++ b/src/testdir/test_syntax.vim @@ -555,6 +555,7 @@ func Test_syntax_c() \ "\tfor (int i = 0; i < count; ++i) {", \ "\t break;", \ "\t}", + \ "\tNote: asdf", \ '}', \ ], 'Xtest.c') @@ -562,7 +563,8 @@ func Test_syntax_c() " response to t_RB corrects it to "light". 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 term_sendkeys(buf, ":set hlsearch\r") call term_sendkeys(buf, "/endif\r") call term_sendkeys(buf, "vjfC")