aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-01-07 19:12:18 +0300
committerZyX <kp-pav@yandex.ru>2017-01-07 19:12:18 +0300
commit3967618fa524b3840649887661584de27f7daa87 (patch)
treeab17f04a24754b551c09092249ee80fbf3d05ac7
parentdea4bb33dc13a65e303b77ccda28601ebc246b85 (diff)
downloadrneovim-3967618fa524b3840649887661584de27f7daa87.tar.gz
rneovim-3967618fa524b3840649887661584de27f7daa87.tar.bz2
rneovim-3967618fa524b3840649887661584de27f7daa87.zip
unittest: Fix linter errors
-rw-r--r--test/unit/eval/tv_clear_spec.lua2
-rw-r--r--test/unit/helpers.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/eval/tv_clear_spec.lua b/test/unit/eval/tv_clear_spec.lua
index 483afaee2b..96eccdbd71 100644
--- a/test/unit/eval/tv_clear_spec.lua
+++ b/test/unit/eval/tv_clear_spec.lua
@@ -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()
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index 58a04e9c43..1bfdd32739 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -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'),