test: fix dependencies between test cases (#23343)

Discovered using --shuffle argument of busted.
This commit is contained in:
zeertzjq
2023-04-27 15:51:44 +08:00
committed by GitHub
parent d1bb9bffd5
commit d321deb4a9
9 changed files with 49 additions and 36 deletions

View File

@@ -15,6 +15,8 @@ local set_shell_powershell = helpers.set_shell_powershell
local skip = helpers.skip
local is_os = helpers.is_os
clear() -- for has_powershell()
describe("shell command :!", function()
local screen
before_each(function()