aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-11-29 22:51:20 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-12-20 11:57:30 +0100
commit221f6fffad12beaa928ccedae336d64b7b1c1208 (patch)
tree501c13ec241ff3d6a020d96f6ec0c3947000418b /test/unit
parente6d0dea42b28a4814546bcf699ce277c365ebfc1 (diff)
downloadrneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.gz
rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.tar.bz2
rneovim-221f6fffad12beaa928ccedae336d64b7b1c1208.zip
runtime/lua/vim/compat.lua
ref #9280 Introduce the `vim.compat` module, to help environments with system Lua 5.2+ run the build/tests. Include the module implicitly in all tests. ref #8677 legacy `vim` module: beep buffer command dict eval firstline lastline line list open type window
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