mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 02:21:51 +00:00
test: fix dependencies between test cases
Discovered using --shuffle argument of busted.
(cherry picked from commit f273a5a529)
This commit is contained in:
committed by
github-actions[bot]
parent
5c26f463bb
commit
1d9ef90115
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user