From 09fbedc8dc3adc0a7adf2093916911e633cfa626 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 19 Jan 2021 17:22:58 +0100 Subject: [PATCH] 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. --- src/testdir/test_highlight.vim | 5 +++-- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_highlight.vim b/src/testdir/test_highlight.vim index 8bd03e2da1..a4c7a72591 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#')) diff --git a/src/version.c b/src/version.c index 98f120b2e2..452fa2d22f 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2375, /**/ 2374, /**/