summaryrefslogtreecommitdiffstats
path: root/tests/Components/ExpressionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Components/ExpressionTest.php')
-rw-r--r--tests/Components/ExpressionTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Components/ExpressionTest.php b/tests/Components/ExpressionTest.php
index ecf5149..c5e10a4 100644
--- a/tests/Components/ExpressionTest.php
+++ b/tests/Components/ExpressionTest.php
@@ -16,6 +16,11 @@ class ExpressionTest extends TestCase
$this->assertEquals($component->expr, 'IF(film_id > 0, film_id, film_id)');
}
+ public function testParse2()
+ {
+ $component = Expression::parse(new Parser(), $this->getTokensList('col`test`'));
+ }
+
public function testParseErr1()
{
$parser = new Parser();