aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBK1603 <chouhan.shreyansh2702@gmail.com>2020-07-03 00:06:14 +0530
committerBK1603 <chouhan.shreyansh2702@gmail.com>2020-07-03 00:55:14 +0530
commit8a819d44d299755f68295e69873fd142188d7eea (patch)
treeb9f460bdcbc2d8165c0969287ce767bbd5427e6f
parentae183990ee94ce48b3aec28e83de094df1ef880c (diff)
downloadrneovim-8a819d44d299755f68295e69873fd142188d7eea.tar.gz
rneovim-8a819d44d299755f68295e69873fd142188d7eea.tar.bz2
rneovim-8a819d44d299755f68295e69873fd142188d7eea.zip
removed retry
-rw-r--r--test/functional/autoread/focus_spec.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/functional/autoread/focus_spec.lua b/test/functional/autoread/focus_spec.lua
index 0373f4a224..1d52e9948f 100644
--- a/test/functional/autoread/focus_spec.lua
+++ b/test/functional/autoread/focus_spec.lua
@@ -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 |