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:
@@ -573,9 +573,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
|
||||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1309,
|
||||||
/**/
|
/**/
|
||||||
1308,
|
1308,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user