Patch 8.2.5166
Problem:    Test for DiffUpdated fails.
Solution:   Also accept a count of two.
Files:      src/testdir/test_diffmode.vim


*** ../vim-8.2.5165/src/testdir/test_diffmode.vim       2022-06-26 
16:53:30.989226156 +0100
--- src/testdir/test_diffmode.vim       2022-06-26 18:16:28.538776898 +0100
***************
*** 34,40 ****
    call win_gotoid(winone)
    call assert_equal(23, getcurpos()[1])
  
!   call assert_equal(1, g:update_count)
    au! DiffUpdated
  
    windo diffoff
--- 34,41 ----
    call win_gotoid(winone)
    call assert_equal(23, getcurpos()[1])
  
!   " depending on how redraw is done DiffUpdated may be triggered once or twice
!   call assert_inrange(1, 2, g:update_count)
    au! DiffUpdated
  
    windo diffoff
*** ../vim-8.2.5165/src/version.c       2022-06-26 18:00:56.951878616 +0100
--- src/version.c       2022-06-26 18:17:07.374640034 +0100
***************
*** 737,738 ****
--- 737,740 ----
  {   /* Add new patch number below this line */
+ /**/
+     5166,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
9. All your daydreaming is preoccupied with getting a faster connection to the
   net: cable modem...100 Mbit...Fiber...1Gbit

 /// 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/20220626171816.67C991C4808%40moolenaar.net.

Raspunde prin e-mail lui