mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
fix(test): remove test/compat.lua
This commit is contained in:
parent
7b0123dd6a
commit
d8e330bcec
@ -1,12 +0,0 @@
|
||||
-- Lua 5.1 forward-compatibility layer.
|
||||
-- For background see https://github.com/neovim/neovim/pull/9280
|
||||
--
|
||||
-- Reference the lua-compat-5.2 project for hints:
|
||||
-- https://github.com/keplerproject/lua-compat-5.2/blob/c164c8f339b95451b572d6b4b4d11e944dc7169d/compat52/mstrict.lua
|
||||
-- https://github.com/keplerproject/lua-compat-5.2/blob/c164c8f339b95451b572d6b4b4d11e944dc7169d/tests/test.lua
|
||||
|
||||
local lua_version = _VERSION:sub(-3)
|
||||
|
||||
if lua_version >= '5.2' then
|
||||
unpack = table.unpack -- luacheck: ignore 121 143
|
||||
end
|
@ -1,4 +1,3 @@
|
||||
require('test.compat')
|
||||
local shared = vim
|
||||
local assert = require('luassert')
|
||||
local busted = require('busted')
|
||||
|
Loading…
Reference in New Issue
Block a user