Mercurial > vim
changeset 15918:22b51b13634d v8.1.0965
patch 8.1.0965: search test fails
commit https://github.com/vim/vim/commit/e86ecbd92271ad86b543c71ca50452528f704ffb
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Feb 2019 18:00:08 +0100 |
parents | ef8df97d2b3c |
children | 4349071d1de5 |
files | src/testdir/dumps/Test_incsearch_change_01.dump src/testdir/test_search.vim src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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')