diff options
| author | Marco Hinz <mh.codebro@gmail.com> | 2015-11-23 13:58:35 +0100 |
|---|---|---|
| committer | Marco Hinz <mh.codebro@gmail.com> | 2015-11-23 13:58:35 +0100 |
| commit | 369c1fdb259daf4f305ada8744e0564250480398 (patch) | |
| tree | e61dc677cf85faa79a92814cbdadb63de7477635 /test/unit/preprocess.lua | |
| parent | 97cee2c2e39888b33a546ba5ffe37c510740c3a5 (diff) | |
| parent | d9fbc1865bf5237235e96ae8822326faa84ff9fc (diff) | |
| download | rneovim-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.lua | 4 |
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 |