aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua/tlds.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/lua/tlds.lua')
-rw-r--r--test/functional/lua/tlds.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/lua/tlds.lua b/test/functional/lua/tlds.lua
index 0908001da..24836b393 100644
--- a/test/functional/lua/tlds.lua
+++ b/test/functional/lua/tlds.lua
@@ -39,6 +39,7 @@ rspamd_config:register_symbol({
return
end
local u = rspamd_url.create(pool, p .. d)
+ assert(u, "cannot parse string: " .. p .. d)
test = u:get_tld()
if (test ~= d) then
local opt = string.format('url.create:p=%s;d=%s;got=%s', p, d, test)