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/os/shell_spec.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/os/shell_spec.lua')
-rw-r--r-- | test/unit/os/shell_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/os/shell_spec.lua b/test/unit/os/shell_spec.lua index 20cfc17950..01deefab0c 100644 --- a/test/unit/os/shell_spec.lua +++ b/test/unit/os/shell_spec.lua @@ -17,7 +17,7 @@ local shell = helpers.cimport( './src/nvim/main.h', './src/nvim/misc1.h' ) -local ffi, eq, neq = helpers.ffi, helpers.eq, helpers.neq +local ffi, eq = helpers.ffi, helpers.eq local intern = helpers.internalize local to_cstr = helpers.to_cstr local NULL = ffi.cast('void *', 0) @@ -70,7 +70,7 @@ describe('shell functions', function() end) it ('returns non-zero exit code', function() - local status, output = os_system('exit 2') + local status = os_system('exit 2') eq(2, status) end) end) |