diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-26 18:17:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-26 18:17:50 +0100 |
commit | f65cc665fa751bad3ffe75f58ce1251d6695949f (patch) | |
tree | 1d0e9290a723f14c2add28f27529d2ba63b80dd9 /src/testdir/test_diffmode.vim | |
parent | 507618702e0b04d37028a5bdf7d0d1b09555e19a (diff) | |
download | vim-git-f65cc665fa751bad3ffe75f58ce1251d6695949f.tar.gz |
patch 8.2.5166: test for DiffUpdated failsv8.2.5166
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
Diffstat (limited to 'src/testdir/test_diffmode.vim')
-rw-r--r-- | src/testdir/test_diffmode.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/test_diffmode.vim b/src/testdir/test_diffmode.vim index 4c7aff5cc..dcacd5516 100644 --- a/src/testdir/test_diffmode.vim +++ b/src/testdir/test_diffmode.vim @@ -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 |