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 <noreply@anthropic.com>
This commit is contained in:
parent
996f21f58c
commit
7904e17cd2
1 changed files with 1 additions and 0 deletions
|
|
@ -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([]);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue