Skip to content

Commit

Permalink
patch 8.2.5166: test for DiffUpdated fails
Browse files Browse the repository at this point in the history
Problem:    Test for DiffUpdated fails.
Solution:   Also accept a count of two.
  • Loading branch information
brammool committed Jun 26, 2022
1 parent 5076187 commit f65cc66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/testdir/test_diffmode.vim
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -735,6 +735,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
5166,
/**/
5165,
/**/
Expand Down

0 comments on commit f65cc66

Please sign in to comment.