mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +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]
![github-actions[bot]](/assets/img/avatar_default.png)
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