aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/expressions.lua1
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