mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Tests: fix according to lualint
This commit is contained in:
parent
5308585adf
commit
3d15cab29d
@ -43,7 +43,7 @@ describe('server -> client', function()
|
|||||||
stop()
|
stop()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function on_request(method, args)
|
local function on_request()
|
||||||
-- No need to evaluate the args, we are only interested in
|
-- No need to evaluate the args, we are only interested in
|
||||||
-- a response that contains an array with an empty string.
|
-- a response that contains an array with an empty string.
|
||||||
return {1, 2, '', 3, 'asdf'}
|
return {1, 2, '', 3, 'asdf'}
|
||||||
|
@ -5,7 +5,7 @@ local helpers = require('test.functional.helpers')
|
|||||||
local nvim, eq = helpers.meths, helpers.eq
|
local nvim, eq = helpers.meths, helpers.eq
|
||||||
local insert, feed = helpers.insert, helpers.feed
|
local insert, feed = helpers.insert, helpers.feed
|
||||||
local clear, expect = helpers.clear, helpers.expect
|
local clear, expect = helpers.clear, helpers.expect
|
||||||
local source, execute = helpers.source, helpers.execute
|
local execute = helpers.execute
|
||||||
|
|
||||||
describe('Visual block mode', function()
|
describe('Visual block mode', function()
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
local helpers = require('test.functional.helpers')
|
local helpers = require('test.functional.helpers')
|
||||||
local feed, insert, source = helpers.feed, helpers.insert, helpers.source
|
local feed, insert, source = helpers.feed, helpers.insert, helpers.source
|
||||||
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
||||||
local eq, eval, wait, write_file = helpers.eq, helpers.eval, helpers.wait, helpers.write_file
|
local eq, eval, write_file = helpers.eq, helpers.eval, helpers.write_file
|
||||||
|
|
||||||
local function has_clipboard()
|
local function has_clipboard()
|
||||||
clear()
|
clear()
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
-- Tests for signs
|
-- Tests for signs
|
||||||
|
|
||||||
local helpers = require('test.functional.helpers')
|
local helpers = require('test.functional.helpers')
|
||||||
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
|
local clear, execute = helpers.clear, helpers.execute
|
||||||
local eq, neq, eval = helpers.eq, helpers.neq, helpers.eval
|
local eq, neq, eval = helpers.eq, helpers.neq, helpers.eval
|
||||||
|
|
||||||
describe('glob2regpat()', function()
|
describe('glob2regpat()', function()
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
-- Test for the quickfix commands.
|
-- Test for the quickfix commands.
|
||||||
|
|
||||||
local helpers = require('test.functional.helpers')
|
local helpers = require('test.functional.helpers')
|
||||||
local insert, source = helpers.insert, helpers.source
|
local source, clear = helpers.source, helpers.clear
|
||||||
local clear, expect = helpers.clear, helpers.expect
|
|
||||||
|
|
||||||
describe('helpgrep', function()
|
describe('helpgrep', function()
|
||||||
before_each(clear)
|
before_each(clear)
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
local helpers = require("test.unit.helpers")
|
local helpers = require("test.unit.helpers")
|
||||||
|
|
||||||
local cimport = helpers.cimport
|
local cimport = helpers.cimport
|
||||||
local internalize = helpers.internalize
|
|
||||||
local eq = helpers.eq
|
local eq = helpers.eq
|
||||||
local ffi = helpers.ffi
|
local ffi = helpers.ffi
|
||||||
local to_cstr = helpers.to_cstr
|
local to_cstr = helpers.to_cstr
|
||||||
|
Loading…
Reference in New Issue
Block a user