aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-12-04 19:48:43 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-12-04 19:48:43 +0000
commit22604a259063b4eeaa9498c0ccd2a3f953467c9e (patch)
tree8a5327facd2ce740c3bd0875be7dabfa44d26a75 /test/functional
parentae4d8b6c5ae8116778c1d95eb964ecc05caf677f (diff)
downloadrspamd-22604a259063b4eeaa9498c0ccd2a3f953467c9e.tar.gz
rspamd-22604a259063b4eeaa9498c0ccd2a3f953467c9e.zip
[Minor] Apply luacheck suggestions
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/lua/hashes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/hashes.lua b/test/functional/lua/hashes.lua
index f02e01c4e..7a1728b55 100644
--- a/test/functional/lua/hashes.lua
+++ b/test/functional/lua/hashes.lua
@@ -59,7 +59,7 @@ rspamd_config:register_symbol({
h:reset()
end
h:update(t['str'])
- if not (h:hex() == t['hex']) then
+ if h:hex() ~= t['hex'] then
t['error'] = 'sum mismatch: ' .. h:hex()
table.insert(worry, logger.slog('%1', t))
end