From: Bram Moolenaar Date: Thu, 21 Feb 2019 16:48:59 +0000 (+0100) Subject: patch 8.1.0965: search test fails X-Git-Tag: v8.1.0965 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e86ecbd92271ad86b543c71ca50452528f704ffb;p=vim 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 index 96d86aae1..1c84faf43 100644 --- 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 index 5c8c2a31e..972144aca 100644 --- 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 index a278e20b4..328d65814 100644 --- a/src/version.c +++ b/src/version.c @@ -779,6 +779,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 965, /**/ 964, /**/