diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-08-13 08:23:12 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2023-08-13 10:20:05 +0100 |
commit | d8e330bcec91c13feff87cf8c59ae34b687401f7 (patch) | |
tree | cea65fccdc293439d0543af4049cbb85e23a883b | |
parent | 7b0123dd6a06a032516cce66d82c064b1d942013 (diff) | |
download | rneovim-d8e330bcec91c13feff87cf8c59ae34b687401f7.tar.gz rneovim-d8e330bcec91c13feff87cf8c59ae34b687401f7.tar.bz2 rneovim-d8e330bcec91c13feff87cf8c59ae34b687401f7.zip |
fix(test): remove test/compat.lua
-rw-r--r-- | test/compat.lua | 12 | ||||
-rw-r--r-- | test/helpers.lua | 1 |
2 files changed, 0 insertions, 13 deletions
diff --git a/test/compat.lua b/test/compat.lua deleted file mode 100644 index 2c9786d491..0000000000 --- a/test/compat.lua +++ /dev/null @@ -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 diff --git a/test/helpers.lua b/test/helpers.lua index f0e8576a3a..51114611ab 100644 --- a/test/helpers.lua +++ b/test/helpers.lua @@ -1,4 +1,3 @@ -require('test.compat') local shared = vim local assert = require('luassert') local busted = require('busted') |