unittest: Fix linter errors

This commit is contained in:
ZyX 2017-01-07 19:12:18 +03:00
parent dea4bb33dc
commit 3967618fa5
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ local lua2typvalt = eval_helpers.lua2typvalt
local lib = cimport('./src/nvim/eval_defs.h', './src/nvim/eval.h')
local alloc_log = alloc_log_new(eq)
local alloc_log = alloc_log_new()
before_each(function()
alloc_log:before_each()

View File

@ -124,7 +124,7 @@ local function cppimport(path)
return cimport(Paths.test_include_path .. '/' .. path)
end
local function alloc_log_new(eq)
local function alloc_log_new()
local log = {
log={},
lib=cimport('./src/nvim/memory.h'),