# HG changeset patch # User Bram Moolenaar # Date 1652528702 -7200 # Node ID 7f1a48f095be1b0b69b7f6d3a0eb522e3e33f5f9 # Parent b1324e0d998ad23327a90f7d5e341eb6f202e573 patch 8.2.4952: GUI test will fail if color scheme changes Commit: https://github.com/vim/vim/commit/98feacedf9c03b8db79da03508a2c3c25dac3e53 Author: Bram Moolenaar Date: Sat May 14 12:34:43 2022 +0100 patch 8.2.4952: GUI test will fail if color scheme changes Problem: GUI test will fail if color scheme changes. Solution: Reduce the test for now. diff --git a/src/testdir/test_gui.vim b/src/testdir/test_gui.vim --- a/src/testdir/test_gui.vim +++ b/src/testdir/test_gui.vim @@ -48,7 +48,9 @@ func Test_colorscheme() call assert_equal("\ntorte", execute('colorscheme')) let a = substitute(execute('hi Search'), "\n\\s\\+", ' ', 'g') - call assert_match("\nSearch xxx term=reverse ctermfg=0 ctermbg=12 gui=bold guifg=Black guibg=Red", a) + " FIXME: temporarily check less while the colorscheme changes + " call assert_match("\nSearch xxx term=reverse cterm=reverse ctermfg=196 ctermbg=16 gui=reverse guifg=#ff0000 guibg=#000000", a) + call assert_match("\nSearch xxx term=reverse ", a) call assert_fails('colorscheme does_not_exist', 'E185:') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4952, +/**/ 4951, /**/ 4950,