mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.5166: test for DiffUpdated fails
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
f65cc665fa
This commit is contained in:
parent
771564b00e
commit
e4079f3b5a
@ -33,7 +33,8 @@ func Test_diff_fold_sync()
|
|||||||
call win_gotoid(winone)
|
call win_gotoid(winone)
|
||||||
call assert_equal(23, getcurpos()[1])
|
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
|
au! DiffUpdated
|
||||||
|
|
||||||
windo diffoff
|
windo diffoff
|
||||||
|
Loading…
Reference in New Issue
Block a user