forked from aniani/vim
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:
committed by
Bram Moolenaar
parent
042414fa00
commit
ee41052ccb
@@ -2217,6 +2217,7 @@ enddef
|
|||||||
|
|
||||||
def Test_term_getansicolors()
|
def Test_term_getansicolors()
|
||||||
CheckRunVimInTerminal
|
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')
|
CheckDefAndScriptFailure2(['term_getansicolors(["a"])'], 'E1013: Argument 1: type mismatch, expected string but got list<string>', 'E745: Using a List as a Number')
|
||||||
enddef
|
enddef
|
||||||
|
|
||||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3156,
|
||||||
/**/
|
/**/
|
||||||
3155,
|
3155,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user