]> granicus.if.org Git - vim/commitdiff
patch 8.0.0052 v8.0.0052
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2016 20:10:27 +0000 (22:10 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Oct 2016 20:10:27 +0000 (22:10 +0200)
Problem:    Conceal test passes even without the bug fix.
Solution:   Add a redraw command. (Christian Brabandt)

src/testdir/test_matchadd_conceal.vim
src/version.c

index 610917fd11d4a06f42f061a7ede549ebdb60cf30..d285a4c75ba7cbfe983490272f03651edb5cb74f 100644 (file)
@@ -281,6 +281,7 @@ function! Test_matchadd_and_syn_conceal()
   call assert_notequal(screenattr(1, 11) , screenattr(1, 12))
   call assert_equal(screenattr(1, 11) , screenattr(1, 32))
   call matchadd('CheckedByCoq', '\%<2l\%>9c\%<16c')
+  redraw!
   call assert_equal(expect, s:screenline(1))
   call assert_notequal(screenattr(1, 10) , screenattr(1, 11))
   call assert_notequal(screenattr(1, 11) , screenattr(1, 12))
index a6f915a8a62553a8991dc31d46fa9e238dec6d47..5e337d6a177a967caae1b38ddaac4b6087ec0ac0 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    52,
 /**/
     51,
 /**/