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/testdir | |
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/testdir')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 1 |
1 files changed, 1 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 |