aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-24 17:33:25 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2020-01-24 17:33:25 +0000
commite369efa91be624f2c5134f89744aa7ca7ea3fee7 (patch)
tree72f34395bd1609fa185096146100c90f1366c740 /test/functional/lua
parent9e55da62037bb6f51b613d776ea79357fc62dff5 (diff)
downloadrspamd-e369efa91be624f2c5134f89744aa7ca7ea3fee7.tar.gz
rspamd-e369efa91be624f2c5134f89744aa7ca7ea3fee7.zip
[Minor] Fix masks calculations
Diffstat (limited to 'test/functional/lua')
-rw-r--r--test/functional/lua/maps_kv.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/lua/maps_kv.lua b/test/functional/lua/maps_kv.lua
index 3decc48c2..b63b32c34 100644
--- a/test/functional/lua/maps_kv.lua
+++ b/test/functional/lua/maps_kv.lua
@@ -26,11 +26,11 @@ rspamd_config:register_symbol({
if (radix_map:get_key(rspamd_ip.from_string(sip[i])) ~= expected[i]) then
local rip = rspamd_ip.from_string(sip[i])
local val = radix_map:get_key(rip)
- return true, rspamd_logger.slog('get_key(%s) [%s] -> %s [%s] [expected %s]', rip, type(rip), val, type(val), expected[i])
+ return true, rspamd_logger.slog('plain: get_key(%s) [%s] -> %s [%s] [expected %s]', rip, type(rip), val, type(val), expected[i])
end
if (radix_map:get_key(sip[i]) ~= expected[i]) then
local val = radix_map:get_key(sip[i])
- return true, rspamd_logger.slog('get_key(%s) [%s] -> %s [%s] [expected %s]', sip[i], type(sip[i]), val, type(val), expected[i])
+ return true, rspamd_logger.slog('string: get_key(%s) [%s] -> %s [%s] [expected %s]', sip[i], type(sip[i]), val, type(val), expected[i])
end
end
return true, 'no worry'