0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2019-06-19 18:16:10 +02:00
parent e9726e31fe
commit 37e66cf0f6
2 changed files with 6 additions and 0 deletions

View File

@ -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",

View File

@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1573,
/**/
1572,
/**/