changeset 18148:f7d9f8fe70be v8.1.2069

patch 8.1.2069: test for SafeStateAgain may still fail Commit: https://github.com/vim/vim/commit/0f6629a08a9ae482956f5e70452ae78be569eadf Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 22 23:24:13 2019 +0200 patch 8.1.2069: test for SafeStateAgain may still fail Problem: Test for SafeStateAgain may still fail. Solution: Send another message to trigger SafeStateAgain.
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Sep 2019 23:30:03 +0200
parents 91233e72d701
children 275fec3af04a
files src/testdir/test_autocmd.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
@@ -2250,7 +2250,9 @@ func Test_autocmd_SafeState()
   call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
 
   call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>")
-  call term_wait(buf, 50)
+  call term_wait(buf)
+  call term_sendkeys(buf, ":\<CR>")
+  call term_wait(buf)
   call term_sendkeys(buf, ":echo g:again\<CR>")
   call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
 
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2069,
+/**/
     2068,
 /**/
     2067,