diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2021-07-12 22:15:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-12 22:15:24 +0200 |
commit | ee41052ccb65f8109f285fc43eed3e232de68375 (patch) | |
tree | 9eaf0a96b59c6a70cc691b5d6027b90e1d35bd3c /src | |
parent | 042414fa0053388f9a35cad61886405507554068 (diff) |
patch 8.2.3156: Vim9: term_getansicolors() test fails without +termguicolorsv8.2.3156
Problem: Vim9: term_getansicolors() test fails without +termguicolors.
Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim index f3e44e3b9e..03bc3fbe30 100644 --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -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 diff --git a/src/version.c b/src/version.c index f2f229f916..c2314cdf2c 100644 --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3156, +/**/ 3155, /**/ 3154, |