mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +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')
|
call delete('Xtest_cursorline_with_visualmode')
|
||||||
endfunc
|
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()
|
func Test_1_highlight_Normalgroup_exists()
|
||||||
" This test must come before the Test_cursorline test, as it appears this
|
" MS-Windows GUI sets the font
|
||||||
" defines the Normal highlighting group anyway.
|
if !has('win32') || !has('gui_running')
|
||||||
let hlNormal = HighlightArgs('Normal')
|
let hlNormal = HighlightArgs('Normal')
|
||||||
call assert_match('hi Normal\s*clear', hlNormal)
|
call assert_match('hi Normal\s*clear', hlNormal)
|
||||||
|
endif
|
||||||
endfunc
|
endfunc
|
||||||
|
Reference in New Issue
Block a user