Patch 8.2.3156
Problem: Vim9: term_getansicolors() test fails without +termguicolors.
Solution: Add a check for the feature. (Dominique Pellé, closes #8555)
Files: src/testdir/test_vim9_builtin.vim
*** ../vim-8.2.3155/src/testdir/test_vim9_builtin.vim 2021-07-11
22:04:22.575750556 +0200
--- src/testdir/test_vim9_builtin.vim 2021-07-12 22:13:10.822987466 +0200
***************
*** 2217,2222 ****
--- 2217,2223 ----
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
*** ../vim-8.2.3155/src/version.c 2021-07-12 21:43:15.921878554 +0200
--- src/version.c 2021-07-12 22:14:31.742856088 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3156,
/**/
--
hundred-and-one symptoms of being an internet addict:
129. You cancel your newspaper subscription.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202107122015.16CKFtIh1165411%40masaka.moolenaar.net.