From: Bram Moolenaar Date: Wed, 19 Jun 2019 16:16:10 +0000 (+0200) Subject: patch 8.1.1573: textprop test fails if screenhots do not work X-Git-Tag: v8.1.1573 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37e66cf0f6fa482d36d67818672000fbfb37dfbb;p=vim 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. --- diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim index 36eeb709b..df060ea84 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 62ef11367..9060ceb4e 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, /**/