mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(tests): missing clear() #18927
This was caught in #18674 since it allows test isolation
This commit is contained in:
parent
663cbe2620
commit
837360868b
@ -96,6 +96,8 @@ local function reopenwithfolds(b)
|
||||
end
|
||||
|
||||
describe('API: buffer events:', function()
|
||||
before_each(clear)
|
||||
|
||||
it('when lines are added', function()
|
||||
local b, tick = editoriginal(true)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user