tests: Fix linter errors

This commit is contained in:
ZyX 2017-12-03 20:22:09 +03:00
parent 6bc54832ef
commit fbdc3ac4ef
2 changed files with 1 additions and 5 deletions

View File

@ -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,

View File

@ -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