From b36185d40ea5d14b053ea841a26ebdaf4d775910 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 04:14:38 +0000 Subject: [PATCH] Cover whitespace-trimmed weak If-None-Match parsing Co-authored-by: Theo Browne --- apps/t3/src/cli.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/t3/src/cli.test.ts b/apps/t3/src/cli.test.ts index a882c2b0d9..d221e76b95 100644 --- a/apps/t3/src/cli.test.ts +++ b/apps/t3/src/cli.test.ts @@ -985,6 +985,7 @@ describe("ifNoneMatchSatisfied", () => { expect(ifNoneMatchSatisfied("W/\"abc\"", "\"abc\"")).toBe(true); expect(ifNoneMatchSatisfied("\"abc\"", "W/\"abc\"")).toBe(true); expect(ifNoneMatchSatisfied("w/\"abc\"", "\"abc\"")).toBe(true); + expect(ifNoneMatchSatisfied(" W/\"abc\" ", "\"abc\"")).toBe(true); }); it("does not match non-identical etags", () => {