mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
vim-patch:8.2.4577: message test is flaky
Problem: Message test is flaky. (Elimar Riesebieter)
Solution: Trigger the autocommand event only after startup is finished.
9323ca51c2
This commit is contained in:
@@ -54,9 +54,10 @@ describe('messages', function()
|
||||
|
||||
hide buffer a.txt
|
||||
|
||||
set updatetime=1
|
||||
autocmd CursorHold * b b.txt | w | echo "'b' written"
|
||||
autocmd CursorHold * buf b.txt | w | echo "'b' written"
|
||||
]])
|
||||
command('set updatetime=50')
|
||||
feed('0$')
|
||||
screen:expect([[
|
||||
^hi |
|
||||
{1:~ }|
|
||||
|
||||
Reference in New Issue
Block a user