Patch 8.2.5166

6 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 26, 2022, 1:18:21 PM6/26/22
to vim...@googlegroups.com

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