mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(tests): missing clear() #18927
This was caught in #18674 since it allows test isolation
This commit is contained in:
@@ -93,6 +93,7 @@ describe("api metadata", function()
|
||||
local api, compat, stable, api_level
|
||||
local old_api = {}
|
||||
setup(function()
|
||||
clear() -- Ensure a session before requesting api_info.
|
||||
api = meths.get_api_info()[2]
|
||||
compat = api.version.api_compatible
|
||||
api_level = api.version.api_level
|
||||
|
||||
Reference in New Issue
Block a user