commit 5f34f23: [Test] Add a small test for xxh3

Vsevolod Stakhov vsevolod at highsecure.ru
Sun Dec 5 18:28:05 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-12-05 18:22:41 +0000
URL: https://github.com/rspamd/rspamd/commit/5f34f2323a97909a303f12df9c47f291b36a84b5 (HEAD -> master)

[Test] Add a small test for xxh3

---
 test/functional/lua/hashes.lua | 6 ++++++
 1 file changed, 6 insertions(+)

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


More information about the Commits mailing list