diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-27 15:39:18 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-27 15:39:18 +0100 |
commit | 086f56ab615161922749a082a354090b7976c596 (patch) | |
tree | 5aee72006b263a4e40cde416922617446ee24c90 /test | |
parent | e9800b0987ff5656c97c1b90102ccafa80b88fe4 (diff) | |
download | rspamd-086f56ab615161922749a082a354090b7976c596.tar.gz rspamd-086f56ab615161922749a082a354090b7976c596.zip |
Expression parsing errors are not asserts actually.
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/expressions.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lua/unit/expressions.lua b/test/lua/unit/expressions.lua index d6deaefd7..1dc92997e 100644 --- a/test/lua/unit/expressions.lua +++ b/test/lua/unit/expressions.lua @@ -27,6 +27,7 @@ context("Rspamd expressions", function() local cases = { {'A & B | !C', 'C ! A B & |'}, {'A & (B | !C)', 'A B C ! | &'}, + {'A & B &', nil}, -- Unbalanced braces {'(((A))', nil}, -- Balanced braces |