0
0
mirror of https://github.com/vim/vim.git synced 2025-10-08 06:04:08 -04:00

patch 8.1.1309: test for Normal highlight fails on MS-Windows GUI

Problem:    Test for Normal highlight fails on MS-Windows GUI.
Solution:   Skip the test for MS-Windows GUI.
This commit is contained in:
Bram Moolenaar
2019-05-09 20:07:33 +02:00
parent f90b6e03a9
commit 6b528fa062
2 changed files with 9 additions and 4 deletions

View File

@@ -573,9 +573,12 @@ func Test_cursorline_with_visualmode()
call delete('Xtest_cursorline_with_visualmode')
endfunc
" This test must come before the Test_cursorline test, as it appears this
" defines the Normal highlighting group anyway.
func Test_1_highlight_Normalgroup_exists()
" This test must come before the Test_cursorline test, as it appears this
" defines the Normal highlighting group anyway.
" MS-Windows GUI sets the font
if !has('win32') || !has('gui_running')
let hlNormal = HighlightArgs('Normal')
call assert_match('hi Normal\s*clear', hlNormal)
endif
endfunc

View File

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