diff src/testdir/test_textprop.vim @ 17147:a001a0d88d42 v8.1.1573

patch 8.1.1573: textprop test fails if screenhots do not work commit https://github.com/vim/vim/commit/37e66cf0f6fa482d36d67818672000fbfb37dfbb Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 19 18:16:10 2019 +0200 patch 8.1.1573: textprop test fails if screenhots do not work Problem: Textprop test fails if screenhots do not work. Solution: Add check for screenhots working.
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Jun 2019 18:30:04 +0200
parents ee090ecd70f6
children 13d0753511fe
line wrap: on
line diff
--- a/src/testdir/test_textprop.vim
+++ b/src/testdir/test_textprop.vim
@@ -760,6 +760,10 @@ func Test_textprop_screenshot_visual()
 endfunc
 
 func Test_textprop_after_tab()
+  if !CanRunVimInTerminal()
+    throw 'Skipped: cannot make screendumps'
+  endif
+
   let lines =<< trim END
        call setline(1, [
              \ "\txxx",