From: Mikhail Galanin Date: Thu, 20 Sep 2018 10:31:39 +0000 (+0100) Subject: [Test] Enable one more now-working test-case X-Git-Tag: 1.8.0~55^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a29439606c783e4a5062c23be509bfe3bed4909e;p=rspamd.git [Test] Enable one more now-working test-case --- diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua index a8737dfb4..2205bbc3f 100644 --- a/test/lua/unit/selectors.lua +++ b/test/lua/unit/selectors.lua @@ -121,18 +121,17 @@ context("Selectors test", function() ["pool_var str, default type"] = { - selector = [[pool_var("str_var")]], + selector = [[pool_var("str_var")]], expect = {"str 1"}}, ["pool_var str"] = { - selector = [[pool_var("str_var", 'string')]], + selector = [[pool_var("str_var", 'string')]], expect = {"str 1"}}, --- [===[ not working - ["pool_var int"] = { - selector = [[pool_var("int_var", 'int')]], - expect = {"str 1"}}, --- ]===] + ["pool_var double"] = { + selector = [[pool_var("int_var", 'double')]], + expect = {"1"}}, + ["time"] = { selector = "time", expect = {"1537364211"}},