diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2015-11-17 15:49:12 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2015-11-23 13:57:21 +0100 |
commit | 32ecd75a16371fcfbe0cfc25eacaf041a755ac03 (patch) | |
tree | 80e848ba25993d30caa8556bbde6d7638e1d5ad9 /test/unit/preprocess.lua | |
parent | 4afd386276bb3c8cebb138b96e16c2b45de003ba (diff) | |
download | rneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.tar.gz rneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.tar.bz2 rneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.zip |
test/unit: clean up according to luacheck
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 |