From 814f075ddc40bd1a381dffd1c44b475868deb371 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 02:42:43 +0000 Subject: [PATCH] Cover -o=true override of T3_NO_OPEN env 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 f8e44f5882..378cce56d0 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -100,6 +100,11 @@ describe("parseCliOptions", () => { expect(disabled.noOpen).toBe(true); }); + it("lets -o=true override truthy no-open environment defaults", () => { + const options = parseCliOptions(["-o=true"], { T3_NO_OPEN: "yes" }, "/workspace"); + expect(options.noOpen).toBe(false); + }); + it("supports explicit equals-style --open boolean overrides", () => { const options = parseCliOptions( ["--open=false"],