aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-20 05:59:29 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-10-21 07:34:05 -0400
commitf4cbe96488fce4de971be2e25b254320f0fa71b2 (patch)
tree148ba7226e004ec253e7192ff044575833ad8921
parent02393a0c74d3aaeece939bafa4f658763acca965 (diff)
downloadrneovim-f4cbe96488fce4de971be2e25b254320f0fa71b2.tar.gz
rneovim-f4cbe96488fce4de971be2e25b254320f0fa71b2.tar.bz2
rneovim-f4cbe96488fce4de971be2e25b254320f0fa71b2.zip
vim-patch:8.1.2185: syntax test fails
Problem: Syntax test fails. Solution: Add missing file patch. https://github.com/vim/vim/commit/bbfd1562aeaa5b40b6451effc399846b692d6992
-rw-r--r--src/nvim/testdir/test_syntax.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index b9310e2168..c2025b36e0 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -519,6 +519,7 @@ func Test_syntax_c()
\ ' for (int i = 0; i < count; ++i) {',
\ ' break;',
\ ' }',
+ \ " Note: asdf",
\ '}',
\ ], 'Xtest.c')
@@ -526,7 +527,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 VerifyScreenDump(buf, 'Test_syntax_c_01', {})
call StopVimInTerminal(buf)