From 7904e17cd267c046e2fa08119f7ea310cbf68a83 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 23:18:53 +0200 Subject: [PATCH] Pin the predicate splitter on a quoted identifier Soul pass 7's Y2, treating only single quotes as quoted text, survived: no test gave the splitter a double-quoted identifier. One case now holds an identifier containing " AND (" and checks it stays whole. Co-Authored-By: Claude Opus 5.5 --- tests/store.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/store.test.ts b/tests/store.test.ts index a7a45f5..8eeaeb1 100644 --- a/tests/store.test.ts +++ b/tests/store.test.ts @@ -269,6 +269,7 @@ describe("PostgresStore.checkSchema", () => { "consumed_at IS NULL", ]); expect(predicateConditions("(s = 'x AND (y'::text)")).toEqual(["s = 'x AND (y'::text"]); + expect(predicateConditions('(("odd AND (name" IS NULL) AND b)')).toEqual(['"odd AND (name" IS NULL', "b"]); expect(predicateConditions("")).toEqual([]); });