Skip to content

Commit 0f6629a

Browse files
committed
patch 8.1.2069: test for SafeStateAgain may still fail
Problem: Test for SafeStateAgain may still fail. Solution: Send another message to trigger SafeStateAgain.
1 parent 513537b commit 0f6629a

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/testdir/test_autocmd.vim

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2250,7 +2250,9 @@ func Test_autocmd_SafeState()
22502250
call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
22512251

22522252
call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>")
2253-
call term_wait(buf, 50)
2253+
call term_wait(buf)
2254+
call term_sendkeys(buf, ":\<CR>")
2255+
call term_wait(buf)
22542256
call term_sendkeys(buf, ":echo g:again\<CR>")
22552257
call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
22562258

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2069,
760762
/**/
761763
2068,
762764
/**/

0 commit comments

Comments
 (0)