From 1093ff26f63d6485a1d5f306e12ed448d88d81af Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 20 Sep 2025 11:44:52 -0400 Subject: [PATCH] fix(ci): add stderr to test field, use text=false on vim.system --- lua/cp/test.lua | 1 + spec/execute_spec.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/cp/test.lua b/lua/cp/test.lua index 44f4456..1562835 100644 --- a/lua/cp/test.lua +++ b/lua/cp/test.lua @@ -7,6 +7,7 @@ ---@field actual_highlights table[]? ---@field time_ms number? ---@field error string? +---@field stderr string? ---@field selected boolean ---@field code number? ---@field ok boolean? diff --git a/spec/execute_spec.lua b/spec/execute_spec.lua index 5967dac..e132696 100644 --- a/spec/execute_spec.lua +++ b/spec/execute_spec.lua @@ -196,7 +196,7 @@ describe('cp.execute', function() it('handles command execution', function() vim.system = function(_, opts) if opts then - assert.equals(true, opts.text) + assert.equals(false, opts.text) end return { wait = function()