mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 18:36:30 +00:00
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:
@@ -592,9 +592,12 @@ func Test_cursorline_with_visualmode()
|
||||
call delete('Xtest_cursorline_with_visualmode')
|
||||
endfunc
|
||||
|
||||
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.
|
||||
func Test_1_highlight_Normalgroup_exists()
|
||||
" 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
|
||||
|
Reference in New Issue
Block a user