diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-19 17:22:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-19 17:22:58 +0100 |
commit | 09fbedc8dc3adc0a7adf2093916911e633cfa626 (patch) | |
tree | 38e96ce3c97e57bc32dae74651dc20ccfca5c0f3 /src/testdir | |
parent | 98a29d00a48e15a50e2850e1a29b7d475c531b0c (diff) | |
download | vim-git-09fbedc8dc3adc0a7adf2093916911e633cfa626.tar.gz |
patch 8.2.2375: test for RGB color skipped in the terminalv8.2.2375
Problem: Test for RGB color skipped in the terminal.
Solution: Run the GUI if possible.
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test_highlight.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim index 8bd03e2da..a4c7a7259 100644 --- 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#')) |