]> granicus.if.org Git - vim/commitdiff
patch 8.2.3094: Test_popup_atcursor_pos() fails without the conceal feature v8.2.3094
authorDominique Pelle <dominique.pelle@gmail.com>
Sat, 3 Jul 2021 19:41:38 +0000 (21:41 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 3 Jul 2021 19:41:38 +0000 (21:41 +0200)
Problem:    Test_popup_atcursor_pos() fails without the conceal feature.
Solution:   Add a check for the conceal feature. (Dominique PellĂ©,
            closes #8505)

src/testdir/test_popupwin.vim
src/version.c

index cdfa3a987b20ff65c8dd5ff5779bf7299db1f7dd..8e02ef1f0338bc29cfdbd1a7f9739093082c4287 100644 (file)
@@ -1437,6 +1437,7 @@ endfunc
 
 func Test_popup_atcursor_pos()
   CheckScreendump
+  CheckFeature conceal
 
   let lines =<< trim END
        call setline(1, repeat([repeat('-', 60)], 15))
index 3b8a50a70180356d24f765ebf7c28d0683f58ef4..79a6a85998129305f4841eb67c9aac1ca3d551b8 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3094,
 /**/
     3093,
 /**/