comparison src/testdir/test_highlight.vim @ 16613:850e13b71c1c v8.1.1309

patch 8.1.1309: test for Normal highlight fails on MS-Windows GUI commit https://github.com/vim/vim/commit/6b528fa062a5ac6bb5d8bd3abc26f32c65691d00 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 9 20:07:33 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 May 2019 20:15:05 +0200
parents 96e93765d0d6
children f7268ec2c889
comparison
equal deleted inserted replaced
16612:1e2771cac9a8 16613:850e13b71c1c
571 " clean up 571 " clean up
572 call StopVimInTerminal(buf) 572 call StopVimInTerminal(buf)
573 call delete('Xtest_cursorline_with_visualmode') 573 call delete('Xtest_cursorline_with_visualmode')
574 endfunc 574 endfunc
575 575
576 " This test must come before the Test_cursorline test, as it appears this
577 " defines the Normal highlighting group anyway.
576 func Test_1_highlight_Normalgroup_exists() 578 func Test_1_highlight_Normalgroup_exists()
577 " This test must come before the Test_cursorline test, as it appears this 579 " MS-Windows GUI sets the font
578 " defines the Normal highlighting group anyway. 580 if !has('win32') || !has('gui_running')
579 let hlNormal = HighlightArgs('Normal') 581 let hlNormal = HighlightArgs('Normal')
580 call assert_match('hi Normal\s*clear', hlNormal) 582 call assert_match('hi Normal\s*clear', hlNormal)
581 endfunc 583 endif
584 endfunc