fix(ci): fix tests besides pane;

This commit is contained in:
Barrett Ruth 2025-09-18 23:42:27 -04:00
parent 9dd51374fe
commit d3414f3b7b
4 changed files with 19 additions and 10 deletions

View file

@ -195,10 +195,11 @@ describe('cp.execute', function()
execute.compile_generic(language_config, { binary_file = './test.run' })
end)
it('handles execution timeouts', function()
it('handles command execution', function()
vim.system = function(_, opts)
-- Compilation doesn't set timeout, only text=true
if opts then
assert.is_not_nil(opts.timeout)
assert.equals(true, opts.text)
end
return {
wait = function()