From fa508d53660eb14d3e4877927c191fb988b70a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 22 Apr 2018 00:20:54 +0200 Subject: [PATCH] Add test for parse_clause of nested generator issue7345 review42111002 --- tests/sao.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/sao.js b/tests/sao.js index f67d5fbdc6..a9519b60f7 100644 --- a/tests/sao.js +++ b/tests/sao.js @@ -1479,10 +1479,11 @@ [[c(['Reference', null, ['foo', 'bar']])], [ c(['reference', 'in', ['foo', 'bar']]) ]], - [[['OR', c(['Name', null, 'John']), c(['Name', null, 'Jane'])]], + [['OR', c(['Name', null, 'John']), c(['Name', null, 'Jane'])], ['OR', c(['name', 'ilike', '%John%']), c(['name', 'ilike', '%Jane%']) - ]] + ]], + [[[c(['John'])]], [[['rec_name', 'ilike', '%John%']]]], ].forEach(function(test) { var value = test[0]; var result = test[1];