From 35e381dcbff681cf64be06d29ac0aa800145dbe1 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 02:03:10 +0000 Subject: [PATCH] Cover --open=off equals-value parsing Co-authored-by: Theo Browne --- apps/t3/src/cli.test.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index beb0d881be..651f1f5c23 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -103,6 +103,11 @@ describe("parseCliOptions", () => { expect(options.noOpen).toBe(false); }); + it("supports equals-style --open off values", () => { + const options = parseCliOptions(["--open=off"], {}, "/workspace"); + expect(options.noOpen).toBe(true); + }); + it("respects last flag when combining --open and --no-open", () => { const openThenNoOpen = parseCliOptions(["--open", "--no-open"], {}, "/workspace"); expect(openThenNoOpen.noOpen).toBe(true);