test(ui/decorations_spec): add local variable assert_alive

This commit is contained in:
zeertzjq
2023-06-01 16:34:18 +08:00
committed by GitHub
parent 56c35faf8b
commit 022b5ba45d

View File

@@ -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()