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