Patch 8.1.1309

8 views
Skip to first unread message

Bram Moolenaar

unread,
May 9, 2019, 2:08:00 PM5/9/19
to vim...@googlegroups.com

Patch 8.1.1309 (after 8.1.1308)
Problem: Test for Normal highlight fails on MS-Windows GUI.
Solution: Skip the test for MS-Windows GUI.
Files: src/testdir/test_highlight.vim


*** ../vim-8.1.1308/src/testdir/test_highlight.vim 2019-05-09 19:26:34.132388790 +0200
--- src/testdir/test_highlight.vim 2019-05-09 20:05:28.147496727 +0200
***************
*** 573,581 ****
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.
! let hlNormal = HighlightArgs('Normal')
! call assert_match('hi Normal\s*clear', hlNormal)
endfunc
--- 573,584 ----
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()
! " 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
*** ../vim-8.1.1308/src/version.c 2019-05-09 19:26:34.132388790 +0200
--- src/version.c 2019-05-09 20:06:34.207129302 +0200
***************
*** 769,770 ****
--- 769,772 ----
{ /* Add new patch number below this line */
+ /**/
+ 1309,
/**/

--
Every time I lose weight, it finds me again!

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages