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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220514113526.BE5791C076B%40moolenaar.net.

Raspunde prin e-mail lui