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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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