test: check that TextChangedT cannot delete terminal buffer

This commit is contained in:
zeertzjq
2023-07-23 08:53:59 +08:00
parent c03d38c51d
commit 9f6fc24bcb
2 changed files with 20 additions and 8 deletions

View File

@@ -413,14 +413,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()