mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
test: FocusGained: retry() cmdline-mode test
This commit is contained in:
parent
7c00b10d8d
commit
b927e50c53
@ -293,6 +293,7 @@ describe('tui FocusGained/FocusLost', function()
|
||||
feed_data(":autocmd!\n")
|
||||
feed_data(":autocmd FocusLost * call append(line('$'), 'lost')\n")
|
||||
feed_data(":autocmd FocusGained * call append(line('$'), 'gained')\n")
|
||||
retry(2, 3 * screen.timeout, function()
|
||||
-- Enter cmdline-mode.
|
||||
feed_data(':')
|
||||
screen:sleep(1)
|
||||
@ -313,6 +314,7 @@ describe('tui FocusGained/FocusLost', function()
|
||||
{3:-- TERMINAL --} |
|
||||
]])
|
||||
end)
|
||||
end)
|
||||
|
||||
it('in terminal-mode', function()
|
||||
feed_data(':set shell='..nvim_dir..'/shell-test\n')
|
||||
|
Loading…
Reference in New Issue
Block a user