]> granicus.if.org Git - vim/commitdiff
patch 8.2.4190: all conceal tests are skipped without the screendumps feature v8.2.4190
authorzeertzjq <zeertzjq@outlook.com>
Sun, 23 Jan 2022 12:42:55 +0000 (12:42 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 23 Jan 2022 12:42:55 +0000 (12:42 +0000)
Problem:    All conceal tests are skipped without the screendumps feature.
Solution:   Only skip the tests that use screendumps. (closes #9599)

src/testdir/test_conceal.vim
src/version.c

index 3a24b7fd96542303e7448b2aec26f60a1e128a6f..cf4194d71ccd46723373bbb585a033d24f825471 100644 (file)
@@ -4,9 +4,10 @@ source check.vim
 CheckFeature conceal
 
 source screendump.vim
-CheckScreendump
 
 func Test_conceal_two_windows()
+  CheckScreendump
+
   let code =<< trim [CODE]
     let lines = ["one one one one one", "two |hidden| here", "three |hidden| three"]
     call setline(1, lines)
@@ -111,6 +112,8 @@ func Test_conceal_two_windows()
 endfunc
 
 func Test_conceal_with_cursorline()
+  CheckScreendump
+
   " Opens a help window, where 'conceal' is set, switches to the other window
   " where 'cursorline' needs to be updated when the cursor moves.
   let code =<< trim [CODE]
@@ -138,6 +141,8 @@ func Test_conceal_with_cursorline()
 endfunc
 
 func Test_conceal_resize_term()
+  CheckScreendump
+
   let code =<< trim [CODE]
     call setline(1, '`one` `two` `three` `four` `five`, the backticks should be concealed')
     setl cocu=n cole=3
index dfbd0c665406e7b59a7d74f69963432a2aefdd60..462ba9fa908f371ccedb0339162f7c123ef115f8 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4190,
 /**/
     4189,
 /**/