diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-30 15:57:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-30 15:57:47 +0100 |
commit | e94fe5faba0b43fa9685988e0290c5c84e2ff048 (patch) | |
tree | 0cf9f20922254665e79dc1491f996e8bd4439495 /test/lua | |
parent | 633b66378c1eb7ea7f65887272eccc0d80fdc61a (diff) | |
download | rspamd-e94fe5faba0b43fa9685988e0290c5c84e2ff048.tar.gz rspamd-e94fe5faba0b43fa9685988e0290c5c84e2ff048.zip |
Fix comparision operators.
Diffstat (limited to 'test/lua')
-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 1dc92997e..b2e66e8cc 100644 --- a/test/lua/unit/expressions.lua +++ b/test/lua/unit/expressions.lua @@ -85,6 +85,7 @@ context("Rspamd expressions", function() {'(A + B + C + D) > 1 && F || E', 1}, {'(A + B + C + D) > 100 && F || !E', 0}, {'F && ((A + B + C + D) > 1)', 0}, + {'(E) && ((B + B + B + B) >= 1)', 0}, {'!!C', 1}, } for _,c in ipairs(cases) do |