0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.0965: search test fails

Problem:    Search test fails.
Solution:   Wait a bit longer for the 'ambiwidth' redraw.
This commit is contained in:
Bram Moolenaar 2019-02-21 17:48:59 +01:00
parent 353aca1215
commit e86ecbd922
3 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
|o+0&#ffffff0|n|e| @66 |o+0&#ffffff0|n|e| @66
|x+1&&| +0&&@68 |x| @68
|t|h|r|e@1| @64 |t|h|r|e@1| @64
|~+0#4040ff13&| @68 |~+0#4040ff13&| @68
|~| @68 |~| @68

View File

@ -994,7 +994,7 @@ func Test_incsearch_with_change()
let buf = RunVimInTerminal('-S Xis_change_script', {'rows': 9, 'cols': 70}) 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 " Give Vim a chance to redraw to get rid of the spaces in line 2 caused by
" the 'ambiwidth' check. " the 'ambiwidth' check.
sleep 100m sleep 300m
" Highlight X, it will be deleted by the timer callback. " Highlight X, it will be deleted by the timer callback.
call term_sendkeys(buf, ':%s/X') call term_sendkeys(buf, ':%s/X')

View File

@ -779,6 +779,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
965,
/**/ /**/
964, 964,
/**/ /**/