From 2171cefbaa92c414f6567377f8febebea4078624 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 21 May 2026 18:35:48 +0200 Subject: [PATCH] test(coding-agent): update bash truncation expectation --- packages/coding-agent/test/tool-execution-component.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/coding-agent/test/tool-execution-component.test.ts b/packages/coding-agent/test/tool-execution-component.test.ts index c227515b..9a3d1639 100644 --- a/packages/coding-agent/test/tool-execution-component.test.ts +++ b/packages/coding-agent/test/tool-execution-component.test.ts @@ -156,8 +156,8 @@ describe("ToolExecutionComponent parity", () => { expect(rendered.match(/Full output:/g)?.length ?? 0).toBe(1); expect(rendered).toMatch(/line-4000[^\n]*\n[^\S\n]*\n \[Full output:/); expect(rendered).not.toMatch(/line-4000[^\n]*\n[^\S\n]*\n[^\S\n]*\n \[Full output:/); - expect(rendered).toContain("Truncated: showing 2000 of 4001 lines"); - expect(rendered).not.toContain("[Showing lines 2002-4001 of 4001. Full output:"); + expect(rendered).toContain("Truncated: showing 2000 of 4000 lines"); + expect(rendered).not.toContain("[Showing lines 2001-4000 of 4000. Full output:"); }); test("does not duplicate built-in headers when passed the active built-in definition", () => {