From c57e5e58e197fca322c2840efa435eabb62e4d9d Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 11 Jul 2024 12:27:06 -0500 Subject: fixes to ub:33 hashes now safe --- tests/s.lua | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'tests/s.lua') diff --git a/tests/s.lua b/tests/s.lua index 929c127..01ca4f7 100644 --- a/tests/s.lua +++ b/tests/s.lua @@ -2,14 +2,12 @@ local t = function (a) end require "llib" -a = llib.crypto.md5() +local a = llib.crypto.md5() -for i = 1,200 do - --llib.io.pprint(function (a) end) - llib.thread.async(function(a) end)--:await() -end +b = llib.thread.buffer(a) -if a:final() ~= "d41d8cd98f00b204e9800998ecf8427e" then - print(a:final()) -end +b:mod(function(e) + return e:update("meow") +end) +print(b:get():final()) -- cgit v1.2.3