aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/eval/typval_spec.lua1
-rw-r--r--test/unit/garray_spec.lua1
-rw-r--r--test/unit/helpers.lua1
3 files changed, 0 insertions, 3 deletions
diff --git a/test/unit/eval/typval_spec.lua b/test/unit/eval/typval_spec.lua
index 8c85ff3f34..919a42fbb9 100644
--- a/test/unit/eval/typval_spec.lua
+++ b/test/unit/eval/typval_spec.lua
@@ -2,7 +2,6 @@ local bit = require('bit')
local helpers = require('test.unit.helpers')(after_each)
local eval_helpers = require('test.unit.eval.helpers')
local global_helpers = require('test.helpers')
-local unpack = table.unpack or unpack -- luacheck: ignore
local itp = helpers.gen_itp(it)
diff --git a/test/unit/garray_spec.lua b/test/unit/garray_spec.lua
index e1839d1811..28df8a6e3f 100644
--- a/test/unit/garray_spec.lua
+++ b/test/unit/garray_spec.lua
@@ -13,7 +13,6 @@ local garray = cimport('./src/nvim/garray.h')
local itemsize = 14
local growsize = 95
-local unpack = table.unpack or unpack -- luacheck: ignore
-- define a basic interface to garray. We could make it a lot nicer by
-- constructing a class wrapper around garray. It could for example associate
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index 81847abc36..f8143a0125 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -9,7 +9,6 @@ local say = require('say')
local posix = nil
local syscall = nil
-local unpack = table.unpack or unpack -- luacheck: ignore
local check_cores = global_helpers.check_cores
local dedent = global_helpers.dedent