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.
- let hlNormal = HighlightArgs('Normal')
- call assert_match('hi Normal\s*clear', hlNormal)
+ " 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