]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Add a small test for xxh3
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Dec 2021 18:22:41 +0000 (18:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 5 Dec 2021 18:22:41 +0000 (18:22 +0000)
test/functional/lua/hashes.lua

index d934770e593bb4cc9a5e158f3724e289017594fd..f02e01c4ec6ada4cd82717af0b9af7aec13ad9d2 100644 (file)
@@ -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