From 5757cd144c010c02751c2153aff71f286e848adc Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 9 Feb 2026 23:21:07 +0000 Subject: [PATCH] Cover empty equals-style backend port values Co-authored-by: Theo Browne --- apps/t3/src/cli.test.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index 6d61a8264f..334a3d33a5 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -90,6 +90,12 @@ describe("parseCliOptions", () => { ); }); + it("throws for empty equals-style backend port values", () => { + expect(() => parseCliOptions(["--backend-port="], {}, "/workspace")).toThrow( + "Invalid value for --backend-port", + ); + }); + it("throws when backend port value is missing", () => { expect(() => parseCliOptions(["--backend-port"], {}, "/workspace")).toThrow( "Missing value for --backend-port",