Mercurial > vim
changeset 29299:922b87383277 v8.2.5166
patch 8.2.5166: test for DiffUpdated fails
Commit: https://github.com/vim/vim/commit/f65cc665fa751bad3ffe75f58ce1251d6695949f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 26 18:17:50 2022 +0100
patch 8.2.5166: test for DiffUpdated fails
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jun 2022 19:30:02 +0200 |
parents | ff3b0bd11b49 |
children | 70a0db5f366d |
files | src/testdir/test_diffmode.vim src/version.c |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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