]> granicus.if.org Git - vim/commitdiff
patch 8.1.2185: syntax test fails v8.1.2185
authorBram Moolenaar <Bram@vim.org>
Sat, 19 Oct 2019 18:38:15 +0000 (20:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 19 Oct 2019 18:38:15 +0000 (20:38 +0200)
Problem:    Syntax test fails.
Solution:   Add missing file patch.

src/testdir/test_syntax.vim
src/version.c

index 6705c57b5f43474f0ecd502108703cc3ce499440..4f431d0cc3b1f6e6c6b510ca5e5d6a439a0bb400 100644 (file)
@@ -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")
index 447f761e0472b18791fbf30de05b9fed0fe26f70..dd957cd39fb2a28fda357d58d506bd30a2a191c9 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2185,
 /**/
     2184,
 /**/