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

patch 8.2.3156: Vim9: term_getansicolors() test fails without +termguicolors

Problem:    Vim9: term_getansicolors() test fails without +termguicolors.
Solution:   Add a check for the feature. (Dominique Pellé, closes #8555)
This commit is contained in:
Dominique Pelle 2021-07-12 22:15:24 +02:00 committed by Bram Moolenaar
parent 042414fa00
commit ee41052ccb
2 changed files with 3 additions and 0 deletions

View File

@ -2217,6 +2217,7 @@ enddef
def Test_term_getansicolors()
CheckRunVimInTerminal
CheckFeature termguicolors
CheckDefAndScriptFailure2(['term_getansicolors(["a"])'], 'E1013: Argument 1: type mismatch, expected string but got list<string>', 'E745: Using a List as a Number')
enddef

View File

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