mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +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 meths = helpers.meths
|
||||||
local curbufmeths = helpers.curbufmeths
|
local curbufmeths = helpers.curbufmeths
|
||||||
local command = helpers.command
|
local command = helpers.command
|
||||||
|
local assert_alive = helpers.assert_alive
|
||||||
|
|
||||||
describe('decorations providers', function()
|
describe('decorations providers', function()
|
||||||
local screen
|
local screen
|
||||||
@@ -80,7 +81,7 @@ describe('decorations providers', function()
|
|||||||
local ns2 = api.nvim_create_namespace "ns2"
|
local ns2 = api.nvim_create_namespace "ns2"
|
||||||
api.nvim_set_decoration_provider(ns2, {})
|
api.nvim_set_decoration_provider(ns2, {})
|
||||||
]])
|
]])
|
||||||
helpers.assert_alive()
|
assert_alive()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('leave a trace', function()
|
it('leave a trace', function()
|
||||||
@@ -1075,7 +1076,7 @@ end]]
|
|||||||
{1:~ }|
|
{1:~ }|
|
||||||
|
|
|
|
||||||
]]}
|
]]}
|
||||||
helpers.assert_alive()
|
assert_alive()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('conceal #19007', function()
|
it('conceal #19007', function()
|
||||||
|
Reference in New Issue
Block a user