aboutsummaryrefslogtreecommitdiff
path: root/test/unit/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-04-01 13:17:25 +0300
committerZyX <kp-pav@yandex.ru>2017-04-01 13:17:25 +0300
commit2d158dde025fc7752c9f52def8384a2fbb698652 (patch)
tree5dded7c1e0e04127588f97444bff0c2a9866b133 /test/unit/helpers.lua
parent708a55ee1584c22caadd6b17de8cfc1760b2dba3 (diff)
downloadrneovim-2d158dde025fc7752c9f52def8384a2fbb698652.tar.gz
rneovim-2d158dde025fc7752c9f52def8384a2fbb698652.tar.bz2
rneovim-2d158dde025fc7752c9f52def8384a2fbb698652.zip
unittests: Fix linter error
Diffstat (limited to 'test/unit/helpers.lua')
-rw-r--r--test/unit/helpers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index 7ef2fa22fc..2cea88c8c0 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -704,7 +704,7 @@ local function gen_itp(it)
itp_child(wr, func)
else
sc.close(wr)
- saved_child_pid = child_pid
+ local saved_child_pid = child_pid
child_pid = nil
itp_parent(rd, saved_child_pid, allow_failure)
end