mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
test(ui/decorations_spec): add local variable assert_alive
This commit is contained in:
@@ -10,6 +10,7 @@ local expect_events = helpers.expect_events
|
||||
local meths = helpers.meths
|
||||
local curbufmeths = helpers.curbufmeths
|
||||
local command = helpers.command
|
||||
local assert_alive = helpers.assert_alive
|
||||
|
||||
describe('decorations providers', function()
|
||||
local screen
|
||||
@@ -80,7 +81,7 @@ describe('decorations providers', function()
|
||||
local ns2 = api.nvim_create_namespace "ns2"
|
||||
api.nvim_set_decoration_provider(ns2, {})
|
||||
]])
|
||||
helpers.assert_alive()
|
||||
assert_alive()
|
||||
end)
|
||||
|
||||
it('leave a trace', function()
|
||||
@@ -1075,7 +1076,7 @@ end]]
|
||||
{1:~ }|
|
||||
|
|
||||
]]}
|
||||
helpers.assert_alive()
|
||||
assert_alive()
|
||||
end)
|
||||
|
||||
it('conceal #19007', function()
|
||||
|
Reference in New Issue
Block a user