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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2508%2Fhead;p=thirdparty%2Frspamd.git [Test] Enable one more now-working test-case --- diff --git a/test/lua/unit/selectors.lua b/test/lua/unit/selectors.lua index a8737dfb44..2205bbc3f9 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"}},