Patch 8.2.2375

8 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 19, 2021, 11:23:54 AM1/19/21
to vim...@googlegroups.com

Patch 8.2.2375
Problem: Test for RGB color skipped in the terminal.
Solution: Run the GUI if possible.
Files: src/testdir/test_highlight.vim


*** ../vim-8.2.2374/src/testdir/test_highlight.vim 2020-09-29 20:59:13.561602886 +0200
--- src/testdir/test_highlight.vim 2021-01-19 17:21:32.336655871 +0100
***************
*** 781,788 ****
endfunc

" Test for using RGB color values in a highlight group
! func Test_highlight_RGB_color()
! CheckGui
hi MySearch guifg=#110000 guibg=#001100 guisp=#000011
call assert_equal('#110000', synIDattr(synIDtrans(hlID('MySearch')), 'fg#'))
call assert_equal('#001100', synIDattr(synIDtrans(hlID('MySearch')), 'bg#'))
--- 781,789 ----
endfunc

" Test for using RGB color values in a highlight group
! func Test_xxlast_highlight_RGB_color()
! CheckCanRunGui
! gui -f
hi MySearch guifg=#110000 guibg=#001100 guisp=#000011
call assert_equal('#110000', synIDattr(synIDtrans(hlID('MySearch')), 'fg#'))
call assert_equal('#001100', synIDattr(synIDtrans(hlID('MySearch')), 'bg#'))
*** ../vim-8.2.2374/src/version.c 2021-01-17 22:03:58.513782591 +0100
--- src/version.c 2021-01-19 17:22:28.532474292 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2375,
/**/

--
hundred-and-one symptoms of being an internet addict:
181. You still remember the "happy tune" your modem made
while dialing your ISP.

/// 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