From: Mikhail Galanin Date: Thu, 20 Sep 2018 10:30:47 +0000 (+0100) Subject: [Test] We don't this chek inside the test anymore. We have command-line param instead X-Git-Tag: 1.8.0~55^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=abea727a9e6097fa8f5baa4ae7e1c81249afa2d5;p=rspamd.git [Test] We don't this chek inside the test anymore. We have command-line param instead --- 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})