aboutsummaryrefslogtreecommitdiffstats
path: root/test/lua/unit
diff options
context:
space:
mode:
authorMikhail Galanin <mgalanin@mimecast.com>2018-09-20 11:31:39 +0100
committerMikhail Galanin <mgalanin@mimecast.com>2018-09-20 11:31:39 +0100
commita29439606c783e4a5062c23be509bfe3bed4909e (patch)
tree0ad0f6ca2abf8a06a64c4e8479dbbae411febd58 /test/lua/unit
parentabea727a9e6097fa8f5baa4ae7e1c81249afa2d5 (diff)
downloadrspamd-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.lua13
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"}},