To: vim_dev@googlegroups.com Subject: Patch 8.2.3156 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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', '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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///