aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-20 11:30:47 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-20 11:30:47 +0100
commitabea727a9e6097fa8f5baa4ae7e1c81249afa2d5 (patch)
treea0e2f4f8cd3488aae819ecc6bcb6e9c2ef21da90 /test/lua/unit
parent99b68e8e51215eab50d33b5af0e0e12b1b497e1e (diff)
downloadrspamd-abea727a9e6097fa8f5baa4ae7e1c81249afa2d5.tar.gz
rspamd-abea727a9e6097fa8f5baa4ae7e1c81249afa2d5.zip
[Test] We don't this chek inside the test anymore. We have command-line param instead
Diffstat (limited to 'test/lua/unit')
-rw-r--r--test/lua/unit/selectors.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua
index e634ca9f1..a8737dfb4 100644
--- a/test/lua/unit/selectors.lua
+++ b/test/lua/unit/selectors.lua
@@ -139,14 +139,8 @@ context("Selectors test", function()
}
- local check_this_case = "pool_var int" -- replace this with case name
- if check_this_case then
- cases = {[check_this_case] = cases[check_this_case]}
- end
-
for case_name, case in pairs(cases) do
test("case " .. case_name, function()
- -- local selector_string = [[ip;header(Subject, "full").lower;rcpts:addr.lower]]
local elts = check_selector(case.selector)
assert_not_nil(elts)
assert_rspamd_table_eq({actual = elts, expect = case.expect})