0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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.
This commit is contained in:
Bram Moolenaar 2022-05-14 12:34:43 +01:00
parent de5cf28781
commit 98feacedf9
2 changed files with 5 additions and 1 deletions

View File

@ -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:')

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4952,
/**/
4951,
/**/