aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-16 20:11:54 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-06-16 20:11:54 +0100
commit986426d29fa6d1e520e6dad10740337d6caacb4c (patch)
tree4197e5f71e47f01dd1f2db3a7ec9fc6bf7e81704 /test/lua
parent9a0a491315d573fe19eae5187ab7463ac996aa03 (diff)
downloadrspamd-986426d29fa6d1e520e6dad10740337d6caacb4c.tar.gz
rspamd-986426d29fa6d1e520e6dad10740337d6caacb4c.zip
[Rework] Modernize logging for expressions
Diffstat (limited to 'test/lua')
-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 34dc8e13a..8633560ba 100644
--- a/test/lua/unit/expressions.lua
+++ b/test/lua/unit/expressions.lua
@@ -76,6 +76,7 @@ context("Rspamd expressions", function()
end
-- Expression is destroyed when the corresponding pool is destroyed
cases = {
+ {'(E) && ((B + B + B + B) >= 1)', 0},
{'A & B | !C', 0},
{'A & (!B | C)', 1},
{'A + B + C + D + E + F >= 2', 1},