aboutsummaryrefslogtreecommitdiff
path: root/test/unit/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-03-12 04:20:31 +0300
committerZyX <kp-pav@yandex.ru>2017-03-12 04:20:31 +0300
commit48e7a83447c0a1a59a110b5ca9e712f560fd9e03 (patch)
treed993945c472a610a265baa79d714c6d32f149f14 /test/unit/helpers.lua
parentdef52ad66825cddd0ce32d74f7a8d8744fcf3a15 (diff)
downloadrneovim-48e7a83447c0a1a59a110b5ca9e712f560fd9e03.tar.gz
rneovim-48e7a83447c0a1a59a110b5ca9e712f560fd9e03.tar.bz2
rneovim-48e7a83447c0a1a59a110b5ca9e712f560fd9e03.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 91f48efef9..612b337ee7 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -165,7 +165,7 @@ end
-- use this helper to import C files, you can pass multiple paths at once,
-- this helper will return the C namespace of the nvim library.
cimport = function(...)
- local previous_defines, preprocess_cache
+ local previous_defines, preprocess_cache, cdefs
if is_child_cdefs() and preprocess_cache_mod then
preprocess_cache = preprocess_cache_mod
previous_defines = previous_defines_mod