diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 13:21:21 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-08-21 14:16:16 +0800 |
commit | e05031097c8fff8aa71267035df3e724cf0c77e5 (patch) | |
tree | 7490d837c70c50570e3768ffad0f0c26e4110462 | |
parent | 0defbd38e41899e359379ce4634681b02a897bc3 (diff) | |
download | rneovim-e05031097c8fff8aa71267035df3e724cf0c77e5.tar.gz rneovim-e05031097c8fff8aa71267035df3e724cf0c77e5.tar.bz2 rneovim-e05031097c8fff8aa71267035df3e724cf0c77e5.zip |
vim-patch:8.1.2069: test for SafeStateAgain may still fail
Problem: Test for SafeStateAgain may still fail.
Solution: Send another message to trigger SafeStateAgain.
https://github.com/vim/vim/commit/0f6629a08a9ae482956f5e70452ae78be569eadf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/test_autocmd.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/old/testdir/test_autocmd.vim b/test/old/testdir/test_autocmd.vim index f5ab03cf22..959efc0b49 100644 --- a/test/old/testdir/test_autocmd.vim +++ b/test/old/testdir/test_autocmd.vim @@ -2982,7 +2982,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) |