summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-05 18:22:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-12-05 18:22:41 +0000
commit5f34f2323a97909a303f12df9c47f291b36a84b5 (patch)
treeb947932e46532ca610945a572feb87a99362ee97 /test
parent0d4bf7ef10f5c93f3f0ee828d353bb9da2c27d48 (diff)
downloadrspamd-5f34f2323a97909a303f12df9c47f291b36a84b5.tar.gz
rspamd-5f34f2323a97909a303f12df9c47f291b36a84b5.zip
[Test] Add a small test for xxh3
Diffstat (limited to 'test')
-rw-r--r--test/functional/lua/hashes.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/lua/hashes.lua b/test/functional/lua/hashes.lua
index d934770e5..f02e01c4e 100644
--- a/test/functional/lua/hashes.lua
+++ b/test/functional/lua/hashes.lua
@@ -40,6 +40,12 @@ rspamd_config:register_symbol({
['hex'] = 'cf25ddc406c50de0c13de2b79d127646',
['reset'] = true,
},
+ {
+ ['init'] = 'hello',
+ ['specific'] = 'xxh3',
+ ['str'] = 'hello',
+ ['hex'] = 'c1156ae6cb7ff175',
+ }
}
for _, t in ipairs(test_data) do