mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
removed retry
This commit is contained in:
parent
ae183990ee
commit
8a819d44d2
@ -2,7 +2,6 @@ local helpers = require('test.functional.helpers')(after_each)
|
||||
local thelpers = require('test.functional.terminal.helpers')
|
||||
local lfs = require('lfs')
|
||||
local clear = helpers.clear
|
||||
local retry = helpers.retry
|
||||
local nvim_prog = helpers.nvim_prog
|
||||
local feed_command = helpers.feed_command
|
||||
local feed_data = thelpers.feed_data
|
||||
@ -30,9 +29,7 @@ describe('autoread TUI FocusGained/FocusLost', function()
|
||||
helpers.write_file(path, '')
|
||||
lfs.touch(path, os.time() - 10)
|
||||
feed_command('edit '..path)
|
||||
retry(2, 3 * screen.timeout, function()
|
||||
feed_data('\027[O')
|
||||
end)
|
||||
feed_data('\027[O')
|
||||
|
||||
screen:expect{grid=[[
|
||||
{1: } |
|
||||
@ -46,9 +43,7 @@ describe('autoread TUI FocusGained/FocusLost', function()
|
||||
|
||||
helpers.write_file(path, expected_addition)
|
||||
|
||||
retry(2, 3 * screen.timeout, function()
|
||||
feed_data('\027[I')
|
||||
end)
|
||||
feed_data('\027[I')
|
||||
|
||||
screen:expect{grid=[[
|
||||
{1:l}ine 1 |
|
||||
|
Loading…
Reference in New Issue
Block a user