# HG changeset patch # User Bram Moolenaar # Date 1560961804 -7200 # Node ID a001a0d88d42d78c7b53d1bf0b14678ff2c76c37 # Parent cfec46e92979833960eba8b8d7b2731add1b48eb patch 8.1.1573: textprop test fails if screenhots do not work commit https://github.com/vim/vim/commit/37e66cf0f6fa482d36d67818672000fbfb37dfbb Author: Bram Moolenaar 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. diff --git a/src/testdir/test_textprop.vim b/src/testdir/test_textprop.vim --- 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 --- 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,