aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-05 01:11:06 +0100
committerGitHub <noreply@github.com>2017-02-05 01:11:06 +0100
commitbb2f36d038ccb375249a078997f68840ddcc66ef (patch)
treea080d374a6b38607806ca553d00b2d3e8b590c36 /test/functional/helpers.lua
parent3d3b1641d0cae3244c09d4602ab96d290dd0928a (diff)
parent18127f64c421a2c4da100a9e40d49c31a9a5170a (diff)
downloadrneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.tar.gz
rneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.tar.bz2
rneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.zip
Merge #6038 from justinmk/win32-executable
win: executable()
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 880cb6546c..ca59c0dd2e 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -290,7 +290,9 @@ local function clear(...)
'NVIM_LOG_FILE',
'NVIM_RPLUGIN_MANIFEST',
}) do
- env_tbl[k] = os.getenv(k)
+ if not env_tbl[k] then
+ env_tbl[k] = os.getenv(k)
+ end
end
env = {}
for k, v in pairs(env_tbl) do