mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
test(autocmd/termxx_spec): fix flakiness
(cherry picked from commit e1020a63f7
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
87bfa82bdf
commit
2fbd9f7cd4
@@ -148,21 +148,21 @@ it('autocmd TermEnter, TermLeave', function()
|
|||||||
|
|
||||||
-- TermLeave is also triggered by :quit.
|
-- TermLeave is also triggered by :quit.
|
||||||
command('split foo')
|
command('split foo')
|
||||||
|
feed('<Ignore>') -- Add input to separate two RPC requests
|
||||||
command('wincmd w')
|
command('wincmd w')
|
||||||
feed('i')
|
feed('i')
|
||||||
command('q!')
|
command('q!')
|
||||||
eq(
|
feed('<Ignore>') -- Add input to separate two RPC requests
|
||||||
{
|
eq({
|
||||||
{'TermOpen', 'n'},
|
{'TermOpen', 'n'},
|
||||||
{'TermEnter', 't'},
|
{'TermEnter', 't'},
|
||||||
{'TermLeave', 'n'},
|
{'TermLeave', 'n'},
|
||||||
{'TermEnter', 't'},
|
{'TermEnter', 't'},
|
||||||
{'TermLeave', 'n'},
|
{'TermLeave', 'n'},
|
||||||
{'TermEnter', 't'},
|
{'TermEnter', 't'},
|
||||||
{'TermClose', 't'},
|
{'TermClose', 't'},
|
||||||
{'TermLeave', 'n'},
|
{'TermLeave', 'n'},
|
||||||
},
|
}, eval('g:evs'))
|
||||||
eval('g:evs'))
|
|
||||||
end)
|
end)
|
||||||
|
|
||||||
describe('autocmd TextChangedT', function()
|
describe('autocmd TextChangedT', function()
|
||||||
|
Reference in New Issue
Block a user