test: check that TextChangedT cannot delete terminal buffer (#24437)

This commit is contained in:
zeertzjq
2023-07-23 08:53:59 +08:00
committed by GitHub
parent cdb758ef44
commit f0d618667a
2 changed files with 20 additions and 8 deletions

View File

@@ -414,14 +414,6 @@ describe('on_lines does not emit out-of-bounds line indexes when', function()
feed_command('bdelete!')
eq('', exec_lua([[return _G.cb_error]]))
end)
it('runs TextChangedT event', function()
meths.set_var('called', 0)
command('autocmd TextChangedT * ++once let g:called = 1')
feed_command('terminal')
feed('iaa')
eq(1, meths.get_var('called'))
end)
end)
it('terminal truncates number of composing characters to 5', function()