From 37e66cf0f6fa482d36d67818672000fbfb37dfbb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 19 Jun 2019 18:16:10 +0200 Subject: 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. --- src/testdir/test_textprop.vim | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) 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 @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1573, /**/ 1572, /**/ -- cgit v1.2.3