diff src/testdir/test_conceal.vim @ 27324:d02a319c47ec v8.2.4190

patch 8.2.4190: all conceal tests are skipped without the screendumps feature Commit: https://github.com/vim/vim/commit/206919191fe1881dea00d60d392cc68a07c0106f Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Jan 23 12:42:55 2022 +0000 patch 8.2.4190: all conceal tests are skipped without the screendumps feature Problem: All conceal tests are skipped without the screendumps feature. Solution: Only skip the tests that use screendumps. (closes https://github.com/vim/vim/issues/9599)
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jan 2022 13:45:04 +0100
parents 37bc83bbda91
children 95d6e3c9aa1e
line wrap: on
line diff
--- a/src/testdir/test_conceal.vim
+++ b/src/testdir/test_conceal.vim
@@ -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