comparison src/testdir/test_autocmd.vim @ 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 591db862249a
children 7d90fa3e5f8d
comparison
equal deleted inserted replaced
18147:91233e72d701 18148:f7d9f8fe70be
2248 2248
2249 call term_sendkeys(buf, ":echo g:again\<CR>") 2249 call term_sendkeys(buf, ":echo g:again\<CR>")
2250 call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000) 2250 call WaitForAssert({-> assert_match('^xxxx', term_getline(buf, 6))}, 1000)
2251 2251
2252 call term_sendkeys(buf, ":let g:again = ''\<CR>:call CallTimer()\<CR>") 2252 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)
2254 call term_sendkeys(buf, ":echo g:again\<CR>") 2256 call term_sendkeys(buf, ":echo g:again\<CR>")
2255 call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000) 2257 call WaitForAssert({-> assert_match('xtx', term_getline(buf, 6))}, 1000)
2256 2258
2257 call StopVimInTerminal(buf) 2259 call StopVimInTerminal(buf)
2258 call delete('XSafeState') 2260 call delete('XSafeState')