aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-03 16:56:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-03 16:56:58 +0100
commitb361af86b99c7e4b6e6f3fcd508b882ffb0c9d9e (patch)
treeda77ab79247ff8ea21c93fdd266f8621438d0c59 /test
parentb18c9d7e6132a75c2e2b52eaadfe32adf5debf5d (diff)
downloadrspamd-b361af86b99c7e4b6e6f3fcd508b882ffb0c9d9e.tar.gz
rspamd-b361af86b99c7e4b6e6f3fcd508b882ffb0c9d9e.zip
Add tests and fix some issues.
Diffstat (limited to 'test')
-rw-r--r--test/lua/unit/logger.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lua/unit/logger.lua b/test/lua/unit/logger.lua
index e382ab7e4..29ff4c891 100644
--- a/test/lua/unit/logger.lua
+++ b/test/lua/unit/logger.lua
@@ -11,6 +11,7 @@ context("Logger unit tests", function()
{'%1', '{[1] = 1, [2] = test}', {1, 'test'}},
{'%1', '{[k1] = 1, [k2] = test}', {k1=1, k2='test'}},
{'%1', '{[1] = 1, [2] = 2.100000, [k2] = test}', {1, 2.1, k2='test'}},
+ {'%s', 'true', true},
}
for _,c in ipairs(cases) do