]> granicus.if.org Git - vim/commitdiff
patch 8.1.0965: search test fails v8.1.0965
authorBram Moolenaar <Bram@vim.org>
Thu, 21 Feb 2019 16:48:59 +0000 (17:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 21 Feb 2019 16:48:59 +0000 (17:48 +0100)
Problem:    Search test fails.
Solution:   Wait a bit longer for the 'ambiwidth' redraw.

src/testdir/dumps/Test_incsearch_change_01.dump
src/testdir/test_search.vim
src/version.c

index 96d86aae1d96abbe1b27bd792a88dcb8fd8e2a47..1c84faf43a3506ca5dae571c439d767c08da3aa8 100644 (file)
@@ -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
index 5c8c2a31e7828f3378b3ca84c1f3deab09880e06..972144aca16ed8c994577a7289ac85a77a846a7e 100644 (file)
@@ -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')
index a278e20b4b1eb696b2d51a9333f018443cceea0b..328d65814f7678806162627b9f4d17f2a7c246b0 100644 (file)
@@ -779,6 +779,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    965,
 /**/
     964,
 /**/