]> source.dussan.org Git - rspamd.git/commitdiff
[Test] We don't this chek inside the test anymore. We have command-line param instead
authorMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:30:47 +0000 (11:30 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:30:47 +0000 (11:30 +0100)
test/lua/unit/selectors.lua

index e634ca9f1e423377ad988f200aba741a05550497..a8737dfb44ca3d59f856bf538ad6712945338ea3 100644 (file)
@@ -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})