diff options
Diffstat (limited to 'test/lua/unit/html.lua')
-rw-r--r-- | test/lua/unit/html.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lua/unit/html.lua b/test/lua/unit/html.lua index a9a490e5b..68ee7d1eb 100644 --- a/test/lua/unit/html.lua +++ b/test/lua/unit/html.lua @@ -121,7 +121,8 @@ context("HTML processing", function() local t = rspamd_util.parse_html(c[1]) assert_not_nil(t) - assert_equal(c[2], tostring(t)) + assert_equal(c[2], tostring(t), string.format("'%s' doesn't match with '%s'", + c[2], t)) end end) end) |