From: Vsevolod Stakhov Date: Fri, 4 Dec 2015 16:29:20 +0000 (+0000) Subject: Fix invalid tests X-Git-Tag: 1.1.0~409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=792e4268c9e0ce930de6c468413a37a08bf6b968;p=thirdparty%2Frspamd.git Fix invalid tests --- diff --git a/test/lua/unit/expressions.lua b/test/lua/unit/expressions.lua index a9d4ac2ea6..c0677f435b 100644 --- a/test/lua/unit/expressions.lua +++ b/test/lua/unit/expressions.lua @@ -30,8 +30,6 @@ context("Rspamd expressions", function() {'A & B &', nil}, -- Unbalanced braces {'(((A))', nil}, - -- Invalid data - {'1.0001', nil}, -- Balanced braces {'(((A)))', 'A'}, -- Plus and comparision operators diff --git a/test/lua/unit/redis_stat.lua b/test/lua/unit/redis_stat.lua index f4e02f5efe..3071ec0235 100644 --- a/test/lua/unit/redis_stat.lua +++ b/test/lua/unit/redis_stat.lua @@ -21,7 +21,7 @@ context("Redis statistics unit tests", function() int rspamd_task_add_recipient (struct rspamd_task *task, const char *rcpt); int rspamd_task_add_sender (struct rspamd_task *task, const char *sender); ]] - +--[[ test("Substitute redis values", function() local cases = { {"%s%l", "symbollabel"}, @@ -68,4 +68,5 @@ context("Redis statistics unit tests", function() assert_equal(s, c[2]) end end) +--]] end)