test: FocusGained: retry() cmdline-mode test

This commit is contained in:
Justin M. Keyes 2017-09-09 17:45:00 +02:00
parent 7c00b10d8d
commit b927e50c53

View File

@ -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')