diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-05 23:32:14 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-03-05 23:32:14 +0000 |
commit | cf166128481bcdfaec8b6845acf3332494253839 (patch) | |
tree | 8591d891c6316f06f745e67c0050f319e049adc9 /test | |
parent | 20df05fe8db123c5b70158ccddd5f5373a4b9a04 (diff) | |
download | rspamd-cf166128481bcdfaec8b6845acf3332494253839.tar.gz rspamd-cf166128481bcdfaec8b6845acf3332494253839.zip |
Adopt lua regexps for rspamd_regexp.
Diffstat (limited to 'test')
-rw-r--r-- | test/lua/unit/regxep.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lua/unit/regxep.lua b/test/lua/unit/regxep.lua index f063efeda..5329fece2 100644 --- a/test/lua/unit/regxep.lua +++ b/test/lua/unit/regxep.lua @@ -24,7 +24,8 @@ context("Regexp unit tests", function() local m = false if res then m = true end - assert_equal(m, c[3]) + assert_equal(m, c[3], string.format("'%s' doesn't match with '%s'", + c[2], c[1])) end end) end |