From 221f6fffad12beaa928ccedae336d64b7b1c1208 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 29 Nov 2018 22:51:20 +0100 Subject: 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 --- test/unit/garray_spec.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'test/unit/garray_spec.lua') 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 -- cgit