]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Enable one more now-working test-case 2508/head
authorMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:31:39 +0000 (11:31 +0100)
committerMikhail Galanin <mgalanin@mimecast.com>
Thu, 20 Sep 2018 10:31:39 +0000 (11:31 +0100)
test/lua/unit/selectors.lua

index a8737dfb44ca3d59f856bf538ad6712945338ea3..2205bbc3f99c39c19e0713c90fdc2e3234cc64e5 100644 (file)
@@ -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"}},