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:
parent
042414fa00
commit
ee41052ccb
@ -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
|
||||
|
||||
|
@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3156,
|
||||
/**/
|
||||
3155,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user