aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/environ_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/vimscript/environ_spec.lua')
-rw-r--r--test/functional/vimscript/environ_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/vimscript/environ_spec.lua b/test/functional/vimscript/environ_spec.lua
index 9e19568249..52218d3cc9 100644
--- a/test/functional/vimscript/environ_spec.lua
+++ b/test/functional/vimscript/environ_spec.lua
@@ -26,6 +26,8 @@ end)
describe('empty $HOME', function()
local original_home = os.getenv('HOME')
+ before_each(clear)
+
-- recover $HOME after each test
after_each(function()
if original_home ~= nil then