vim-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.
6b528fa062
This commit is contained in:
Jan Edmund Lazo
2020-01-05 23:03:51 -05:00
parent 3c764aabb5
commit 83083dd47b

View File

@@ -592,9 +592,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