changeset 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 cfec46e92979
children 34404b7bbde7
files src/testdir/test_textprop.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
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",
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1573,
+/**/
     1572,
 /**/
     1571,