fix(ci): add stderr to test field, use text=false on vim.system

This commit is contained in:
Barrett Ruth 2025-09-20 11:44:52 -04:00
parent e780b8ad4e
commit 1093ff26f6
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@
---@field actual_highlights table[]? ---@field actual_highlights table[]?
---@field time_ms number? ---@field time_ms number?
---@field error string? ---@field error string?
---@field stderr string?
---@field selected boolean ---@field selected boolean
---@field code number? ---@field code number?
---@field ok boolean? ---@field ok boolean?

View file

@ -196,7 +196,7 @@ describe('cp.execute', function()
it('handles command execution', function() it('handles command execution', function()
vim.system = function(_, opts) vim.system = function(_, opts)
if opts then if opts then
assert.equals(true, opts.text) assert.equals(false, opts.text)
end end
return { return {
wait = function() wait = function()