mirror of
https://github.com/neovim/neovim.git
synced 2026-07-31 04:39:07 +00:00
vim-patch:9.2.0392: tests: Some tests are flaky
Problem: tests: Some tests are flaky and cause CI to fail
Solution: Add WaitForAsserts() calls to reduce flakiness
closes: vim/vim#20050
1940bcb243
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -2087,6 +2087,7 @@ func Test_edit_ctrl_r_failed()
|
||||
|
||||
" trying to insert a blob produces an error
|
||||
call term_sendkeys(buf, "i\<C-R>=0z\<CR>")
|
||||
call WaitForAssert({-> assert_match('^E976:', term_getline(buf, 5))}, 1000)
|
||||
|
||||
" ending Insert mode should put the cursor back on the ':'
|
||||
call term_sendkeys(buf, ":\<Esc>")
|
||||
|
||||
Reference in New Issue
Block a user