]> granicus.if.org Git - vim/commitdiff
patch 8.1.1691: diff test fails on some systems v8.1.1691
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Jul 2019 15:26:46 +0000 (17:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Jul 2019 15:26:46 +0000 (17:26 +0200)
Problem:    Diff test fails on some systems. (Elimar Riesebieter)
Solution:   Add a term_wait() call.

src/testdir/test_diffmode.vim
src/version.c

index bf4974077751473083cbd588659e98cb065092d0..f82a11c92555c4b1779b94435ec52c3b331ed388 100644 (file)
@@ -743,6 +743,7 @@ func VerifyInternal(buf, dumpfile, extra)
   call term_sendkeys(a:buf, ":diffupdate!\<CR>")
   " trailing : for leaving the cursor on the command line
   call term_sendkeys(a:buf, ":set diffopt=internal,filler" . a:extra . "\<CR>:")
+  call term_wait(a:buf)
   call VerifyScreenDump(a:buf, a:dumpfile, {})
 endfunc
 
index 0c56f7d76bbee3cd934f5da91ae9e3c26e92f23f..cc6dc449eb188096b2a0ee23314346a8fa01cc25 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1691,
 /**/
     1690,
 /**/