functests: Fix linter errors

This commit is contained in:
ZyX
2017-04-09 03:31:13 +03:00
parent 0ac2afdec7
commit f5be643205
10 changed files with 10 additions and 17 deletions

View File

@@ -1,10 +1,5 @@
local helpers = require('test.functional.helpers')(after_each)
local clear = helpers.clear
local command = helpers.command
local eq = helpers.eq
local eval = helpers.eval
local eq = helpers.eq
local eval = helpers.eval
local clear = helpers.clear

View File

@@ -4,7 +4,6 @@ local clear = helpers.clear
local command = helpers.command
local eq = helpers.eq
local eval = helpers.eval
local command = helpers.command
local request = helpers.request
local source = helpers.source

View File

@@ -1,6 +1,6 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, eval, eq = helpers.clear, helpers.eval, helpers.eq
local feed, command, expect, command = helpers.feed, helpers.command, helpers.expect, helpers.command
local feed, command, expect = helpers.feed, helpers.command, helpers.expect
local curbufmeths, funcs, neq = helpers.curbufmeths, helpers.funcs, helpers.neq
describe('TextYankPost', function()

View File

@@ -1,6 +1,6 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, command, nvim = helpers.clear, helpers.command, helpers.nvim
local expect, feed, command = helpers.expect, helpers.feed, helpers.command
local expect, feed = helpers.expect, helpers.feed
local eq, eval = helpers.eq, helpers.eval
describe(':emenu', function()

View File

@@ -1,8 +1,8 @@
local helpers = require('test.functional.helpers')(after_each)
local lfs = require('lfs')
local eq, eval, clear, write_file, command, source, insert =
local eq, eval, clear, write_file, source, insert =
helpers.eq, helpers.eval, helpers.clear, helpers.write_file,
helpers.command, helpers.source, helpers.insert
helpers.source, helpers.insert
local redir_exec = helpers.redir_exec
local exc_exec = helpers.exc_exec
local command = helpers.command

View File

@@ -2,9 +2,8 @@
local helpers = require('test.functional.helpers')(after_each)
local insert, command, clear, expect, eq, eval, wait = helpers.insert,
helpers.command, helpers.clear, helpers.expect, helpers.eq, helpers.eval,
helpers.wait
local insert, command, clear, expect, eq, wait = helpers.insert,
helpers.command, helpers.clear, helpers.expect, helpers.eq, helpers.wait
local exc_exec = helpers.exc_exec
describe(':sort', function()

View File

@@ -2,9 +2,10 @@
local helpers = require('test.functional.helpers')(after_each)
local Screen = require('test.functional.ui.screen')
local feed, insert = helpers.feed, helpers.insert
local eval, clear, command = helpers.eval, helpers.clear, helpers.command
local eq, neq = helpers.eq, helpers.neq
local insert = helpers.insert
local redir_exec = helpers.redir_exec
describe('063: Test for ":match", "matchadd()" and related functions', function()

View File

@@ -2,7 +2,7 @@
local helpers = require('test.functional.helpers')(after_each)
local insert, source = helpers.insert, helpers.source
local clear, command, expect = helpers.clear, helpers.command, helpers.expect
local clear, expect = helpers.clear, helpers.expect
describe('floating point and logical operators', function()
setup(clear)

View File

@@ -2,7 +2,7 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, exc_exec = helpers.clear, helpers.exc_exec
local eq, neq, eval = helpers.eq, helpers.neq, helpers.eval
local eq, eval = helpers.eq, helpers.eval
describe('glob2regpat()', function()
before_each(clear)

View File

@@ -1,6 +1,5 @@
local helpers = require('test.functional.helpers')(after_each)
local feed = helpers.feed
local wait = helpers.wait
local clear = helpers.clear
local insert = helpers.insert