summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-19 18:16:10 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-19 18:16:10 +0200
commit37e66cf0f6fa482d36d67818672000fbfb37dfbb (patch)
tree2b0239f8c5e4c92fca892a76fb68eaae3341ecc6
parente9726e31feafebf3548990b686b810900a0bff43 (diff)
patch 8.1.1573: textprop test fails if screenhots do not workv8.1.1573
Problem: Textprop test fails if screenhots do not work. Solution: Add check for screenhots working.
-rw-r--r--src/testdir/test_textprop.vim4
-rw-r--r--src/version.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim
index 36eeb709b8..df060ea846 100644
--- 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",
diff --git a/src/version.c b/src/version.c
index 62ef113670..9060ceb4e7 100644
--- 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,