Patch 8.2.4952

4 views
Skip to first unread message

Bram Moolenaar

unread,
May 14, 2022, 7:35:32 AM5/14/22
to vim...@googlegroups.com

Patch 8.2.4952
Problem: GUI test will fail if color scheme changes.
Solution: Reduce the test for now.
Files: src/testdir/test_gui.vim


*** ../vim-8.2.4951/src/testdir/test_gui.vim 2022-05-07 12:24:57.943638388 +0100
--- src/testdir/test_gui.vim 2022-05-14 12:33:44.832356856 +0100
***************
*** 48,54 ****
call assert_equal("\ntorte", execute('colorscheme'))

let a = substitute(execute('hi Search'), "\n\\s\\+", ' ', 'g')
! call assert_match("\nSearch xxx term=reverse ctermfg=0 ctermbg=12 gui=bold guifg=Black guibg=Red", a)

call assert_fails('colorscheme does_not_exist', 'E185:')

--- 48,56 ----
call assert_equal("\ntorte", execute('colorscheme'))

let a = substitute(execute('hi Search'), "\n\\s\\+", ' ', 'g')
! " FIXME: temporarily check less while the colorscheme changes
! " call assert_match("\nSearch xxx term=reverse cterm=reverse ctermfg=196 ctermbg=16 gui=reverse guifg=#ff0000 guibg=#000000", a)
! call assert_match("\nSearch xxx term=reverse ", a)

call assert_fails('colorscheme does_not_exist', 'E185:')

*** ../vim-8.2.4951/src/version.c 2022-05-14 11:52:19.205341190 +0100
--- src/version.c 2022-05-14 12:33:02.848380723 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4952,
/**/

--
hundred-and-one symptoms of being an internet addict:
192. Your boss asks you to "go fer" coffee and you come up with 235 FTP sites.

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