# HG changeset patch # User Bram Moolenaar # Date 1550768408 -3600 # Node ID 22b51b13634d0a82f7d7a17e6dd731fd794bbce0 # Parent ef8df97d2b3cd633addf910c1bac06cbc55fbbeb patch 8.1.0965: search test fails commit https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb Author: Bram Moolenaar Date: Thu Feb 21 17:48:59 2019 +0100 patch 8.1.0965: search test fails Problem: Search test fails. Solution: Wait a bit longer for the 'ambiwidth' redraw. diff --git a/src/testdir/dumps/Test_incsearch_change_01.dump b/src/testdir/dumps/Test_incsearch_change_01.dump --- a/src/testdir/dumps/Test_incsearch_change_01.dump +++ b/src/testdir/dumps/Test_incsearch_change_01.dump @@ -1,5 +1,5 @@ |o+0&#ffffff0|n|e| @66 -|x+1&&| +0&&@68 +|x| @68 |t|h|r|e@1| @64 |~+0#4040ff13&| @68 |~| @68 diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -994,7 +994,7 @@ func Test_incsearch_with_change() let buf = RunVimInTerminal('-S Xis_change_script', {'rows': 9, 'cols': 70}) " Give Vim a chance to redraw to get rid of the spaces in line 2 caused by " the 'ambiwidth' check. - sleep 100m + sleep 300m " Highlight X, it will be deleted by the timer callback. call term_sendkeys(buf, ':%s/X') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -780,6 +780,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 965, +/**/ 964, /**/ 963,