diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-20 11:31:39 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-09-20 11:31:39 +0100 |
commit | a29439606c783e4a5062c23be509bfe3bed4909e (patch) | |
tree | 0ad0f6ca2abf8a06a64c4e8479dbbae411febd58 /test/lua/unit | |
parent | abea727a9e6097fa8f5baa4ae7e1c81249afa2d5 (diff) | |
download | rspamd-a29439606c783e4a5062c23be509bfe3bed4909e.tar.gz rspamd-a29439606c783e4a5062c23be509bfe3bed4909e.zip |
[Test] Enable one more now-working test-case
Diffstat (limited to 'test/lua/unit')
-rw-r--r-- | test/lua/unit/selectors.lua | 13 |
1 files changed, 6 insertions, 7 deletions
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"}}, |