aboutsummaryrefslogtreecommitdiff
path: root/tests/s.lua
diff options
context:
space:
mode:
authorame <[email protected]>2024-07-11 12:27:06 -0500
committerame <[email protected]>2024-07-11 12:27:06 -0500
commit027c7a7622a4aa4d0ed6483ba495ab91e0c68991 (patch)
tree7d5bc653f6bec52494604ac8c805e311bae080f4 /tests/s.lua
parent90a2acc2f0c9d3904e1dea737e45ef6b10f96a22 (diff)
fixes to ub:33 hashes now safe
Diffstat (limited to 'tests/s.lua')
-rw-r--r--tests/s.lua14
1 files changed, 6 insertions, 8 deletions
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())