Mercurial > vim
changeset 23667:f07068ed0d3d v8.2.2375
patch 8.2.2375: test for RGB color skipped in the terminal
Commit: https://github.com/vim/vim/commit/09fbedc8dc3adc0a7adf2093916911e633cfa626
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 19 17:22:58 2021 +0100
patch 8.2.2375: test for RGB color skipped in the terminal
Problem: Test for RGB color skipped in the terminal.
Solution: Run the GUI if possible.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 19 Jan 2021 17:30:06 +0100 |
parents | 96206643bd9f |
children | 4e893aa1380c |
files | src/testdir/test_highlight.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_highlight.vim +++ b/src/testdir/test_highlight.vim @@ -781,8 +781,9 @@ func Test_highlight_User() endfunc " Test for using RGB color values in a highlight group -func Test_highlight_RGB_color() - CheckGui +func Test_xxlast_highlight_RGB_color() + CheckCanRunGui + gui -f hi MySearch guifg=#110000 guibg=#001100 guisp=#000011 call assert_equal('#110000', synIDattr(synIDtrans(hlID('MySearch')), 'fg#')) call assert_equal('#001100', synIDattr(synIDtrans(hlID('MySearch')), 'bg#'))