mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
fix(vim.system): close check handle (#24270)
Fix hang after running vim.system() with sanitizers.
This commit is contained in:
@@ -440,7 +440,7 @@ describe('API', function()
|
||||
eq({mode='n', blocking=false}, nvim("get_mode"))
|
||||
end)
|
||||
|
||||
it('Does not cause heap buffer overflow with large output', function()
|
||||
it('does not cause heap buffer overflow with large output', function()
|
||||
eq(eval('string(range(1000000))'),
|
||||
nvim('command_output', 'echo range(1000000)'))
|
||||
end)
|
||||
@@ -4411,8 +4411,6 @@ describe('API', function()
|
||||
eq('1', meths.cmd({cmd = 'echo', args = {true}}, {output = true}))
|
||||
end)
|
||||
describe('first argument as count', function()
|
||||
before_each(clear)
|
||||
|
||||
it('works', function()
|
||||
command('vsplit | enew')
|
||||
meths.cmd({cmd = 'bdelete', args = {meths.get_current_buf()}}, {})
|
||||
|
||||
Reference in New Issue
Block a user