mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
tests: Fix linter errors
This commit is contained in:
parent
6bc54832ef
commit
fbdc3ac4ef
@ -273,6 +273,7 @@ local deepcopy_funcs = {
|
||||
for k, v in pairs(orig) do
|
||||
copy[deepcopy(k)] = deepcopy(v)
|
||||
end
|
||||
return copy
|
||||
end,
|
||||
number = id,
|
||||
string = id,
|
||||
|
@ -1,5 +1,4 @@
|
||||
local helpers = require("test.unit.helpers")(after_each)
|
||||
local global_helpers = require('test.helpers')
|
||||
local bit = require('bit')
|
||||
|
||||
local itp = helpers.gen_itp(it)
|
||||
@ -8,9 +7,6 @@ local child_call_once = helpers.child_call_once
|
||||
local cimport = helpers.cimport
|
||||
local ffi = helpers.ffi
|
||||
|
||||
local shallowcopy = global_helpers.shallowcopy
|
||||
local updated = global_helpers.updated
|
||||
|
||||
local lib = cimport('./src/nvim/charset.h')
|
||||
|
||||
local ARGTYPES
|
||||
@ -48,7 +44,6 @@ local function argreset(arg, args)
|
||||
end
|
||||
|
||||
local function test_vim_str2nr(s, what, exp, maxlen)
|
||||
local comb = {[{}] = true}
|
||||
local bits = {}
|
||||
for k, _ in pairs(exp) do
|
||||
bits[#bits + 1] = k
|
||||
|
Loading…
Reference in New Issue
Block a user