mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 11:26:37 +00:00
test: remove a few more redundant clear() calls
This commit is contained in:
@@ -14,8 +14,6 @@ local poke_eventloop = n.poke_eventloop
|
||||
before_each(clear)
|
||||
|
||||
describe('treesitter foldexpr', function()
|
||||
clear()
|
||||
|
||||
before_each(function()
|
||||
-- open folds to avoid deleting entire folded region
|
||||
exec_lua([[vim.opt.foldlevel = 9]])
|
||||
|
@@ -14,8 +14,6 @@ local function lua_eval(lua_expr)
|
||||
end
|
||||
|
||||
describe('treesitter node API', function()
|
||||
clear()
|
||||
|
||||
it('double free tree', function()
|
||||
insert('F')
|
||||
exec_lua(function()
|
||||
|
@@ -9,8 +9,6 @@ local exec_lua = n.exec_lua
|
||||
before_each(clear)
|
||||
|
||||
describe('treesitter utils', function()
|
||||
before_each(clear)
|
||||
|
||||
it('can find an ancestor', function()
|
||||
insert([[
|
||||
int main() {
|
||||
|
Reference in New Issue
Block a user