mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(vim.system): close check handle (#24270)
Fix hang after running vim.system() with sanitizers.
This commit is contained in:
@@ -5,7 +5,7 @@ local exec_lua = helpers.exec_lua
|
||||
local clear = helpers.clear
|
||||
local feed = helpers.feed
|
||||
local eval = helpers.eval
|
||||
local is_os = helpers.is_os
|
||||
local is_ci = helpers.is_ci
|
||||
local poke_eventloop = helpers.poke_eventloop
|
||||
|
||||
describe('vim.ui', function()
|
||||
@@ -134,7 +134,7 @@ describe('vim.ui', function()
|
||||
|
||||
describe('open()', function()
|
||||
it('validation', function()
|
||||
if not is_os('bsd') then
|
||||
if is_ci('github') then
|
||||
matches('vim.ui.open: command failed %(%d%): { "[^"]+", "non%-existent%-file" }',
|
||||
exec_lua[[local _, err = vim.ui.open('non-existent-file') ; return err]])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user