aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/window_spec.lua
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/functional/api/window_spec.lua
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/functional/api/window_spec.lua')
-rw-r--r--test/functional/api/window_spec.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/api/window_spec.lua b/test/functional/api/window_spec.lua
index 273991951c..4496e1f644 100644
--- a/test/functional/api/window_spec.lua
+++ b/test/functional/api/window_spec.lua
@@ -12,7 +12,6 @@ local meth_pcall = helpers.meth_pcall
local meths = helpers.meths
local command = helpers.command
local expect_err = helpers.expect_err
-local unpack = table.unpack or unpack -- luacheck: ignore
-- check if str is visible at the beginning of some line
local function is_visible(str)