From b2de794ef1ea83996cd0344e818e1704051c9718 Mon Sep 17 00:00:00 2001 From: rowan Date: Thu, 28 Nov 2024 00:01:39 -0600 Subject: [PATCH] fix shunting yard --- tests/query-parser/where.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/query-parser/where.test.js b/tests/query-parser/where.test.js index 28a38c5..d1b2b25 100644 --- a/tests/query-parser/where.test.js +++ b/tests/query-parser/where.test.js @@ -83,6 +83,7 @@ describe('where operators', () => { describe('WHERE keyword', () => { it('handles complex filters', () => { + parse(whereClause, 'WHERE h.max > 500 AND (h.current < 250 OR a.value = 10) OR a.value <= 2') assert.parseOk(whereClause, 'WHERE h.max > 500 AND (h.current < 250 OR a.value = 10) OR a.value <= 2', ([actual]) => { const expected = [ new ObjectPath(new Identifier('h'), new Property('max')),