aboutsummaryrefslogtreecommitdiff
path: root/test/unit/os/shell_spec.lua
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2015-11-17 15:49:12 +0100
committerMarco Hinz <mh.codebro@gmail.com>2015-11-23 13:57:21 +0100
commit32ecd75a16371fcfbe0cfc25eacaf041a755ac03 (patch)
tree80e848ba25993d30caa8556bbde6d7638e1d5ad9 /test/unit/os/shell_spec.lua
parent4afd386276bb3c8cebb138b96e16c2b45de003ba (diff)
downloadrneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.tar.gz
rneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.tar.bz2
rneovim-32ecd75a16371fcfbe0cfc25eacaf041a755ac03.zip
test/unit: clean up according to luacheck
Diffstat (limited to 'test/unit/os/shell_spec.lua')
-rw-r--r--test/unit/os/shell_spec.lua4
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)