diff options
Diffstat (limited to 'test/functional/lua/tlds.lua')
-rw-r--r-- | test/functional/lua/tlds.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/tlds.lua b/test/functional/lua/tlds.lua index bc655dc9e..efaf01af5 100644 --- a/test/functional/lua/tlds.lua +++ b/test/functional/lua/tlds.lua @@ -1,7 +1,7 @@ rspamd_config:register_symbol({ name = 'TEST_TLD', score = 1.0, - callback = function(task) + callback = function() local prefixes = { '', 'example.' @@ -38,7 +38,7 @@ rspamd_config:register_symbol({ return end local u = rspamd_url.create(pool, p .. d) - local test = u:get_tld() + test = u:get_tld() if (test ~= d) then table.insert(worry, 'url.get_tld:' .. p .. d .. ':' .. test) return |