aboutsummaryrefslogtreecommitdiff
path: root/test/unit/preprocess.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:58:35 +0100
commit369c1fdb259daf4f305ada8744e0564250480398 (patch)
treee61dc677cf85faa79a92814cbdadb63de7477635 /test/unit/preprocess.lua
parent97cee2c2e39888b33a546ba5ffe37c510740c3a5 (diff)
parentd9fbc1865bf5237235e96ae8822326faa84ff9fc (diff)
downloadrneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.gz
rneovim-369c1fdb259daf4f305ada8744e0564250480398.tar.bz2
rneovim-369c1fdb259daf4f305ada8744e0564250480398.zip
Merge PR #3687 'Add luacheck for linting tests'
Diffstat (limited to 'test/unit/preprocess.lua')
-rw-r--r--test/unit/preprocess.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/preprocess.lua b/test/unit/preprocess.lua
index d4c2e088a4..e5c838b13b 100644
--- a/test/unit/preprocess.lua
+++ b/test/unit/preprocess.lua
@@ -169,8 +169,8 @@ local type_to_class = {
-- find the best cc. If os.exec causes problems on windows (like popping up
-- a console window) we might consider using something like this:
-- http://scite-ru.googlecode.com/svn/trunk/pack/tools/LuaLib/shell.html#exec
-local function find_best_cc(ccs)
- for _, meta in pairs(ccs) do
+local function find_best_cc(compilers)
+ for _, meta in pairs(compilers) do
local version = io.popen(tostring(meta.path) .. " -v 2>&1")
version:close()
if version then