mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.1.2069: test for SafeStateAgain may still fail
Problem: Test for SafeStateAgain may still fail. Solution: Send another message to trigger SafeStateAgain.
This commit is contained in:
parent
513537bfff
commit
0f6629a08a
@ -2250,7 +2250,9 @@ func Test_autocmd_SafeState()
|
|||||||
call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
|
call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
|
||||||
|
|
||||||
call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>")
|
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 term_sendkeys(buf, ":echo g:again\<CR>")
|
||||||
call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
|
call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
|
||||||
|
|
||||||
|
@ -757,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
2069,
|
||||||
/**/
|
/**/
|
||||||
2068,
|
2068,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user