mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.5166: test for DiffUpdated fails
Problem: Test for DiffUpdated fails. Solution: Also accept a count of two.
This commit is contained in:
parent
507618702e
commit
f65cc665fa
@ -34,7 +34,8 @@ func Test_diff_fold_sync()
|
||||
call win_gotoid(winone)
|
||||
call assert_equal(23, getcurpos()[1])
|
||||
|
||||
call assert_equal(1, g:update_count)
|
||||
" 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
|
||||
|
@ -735,6 +735,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
5166,
|
||||
/**/
|
||||
5165,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user