aboutsummaryrefslogtreecommitdiff
path: root/tests/hash.lua
diff options
context:
space:
mode:
authorame <[email protected]>2023-12-07 16:07:55 -0600
committerame <[email protected]>2023-12-07 16:07:55 -0600
commit80aaf2f01c4dda3af60a20a6fa9a89210eb75988 (patch)
tree139e93b89811473c3d858e993adcee92a4ed4e6c /tests/hash.lua
parent06506329fa89a0513048a000bd06314472c10f2c (diff)
readme & prettier tests
Diffstat (limited to 'tests/hash.lua')
-rw-r--r--tests/hash.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hash.lua b/tests/hash.lua
index 5f9d523..e6099d5 100644
--- a/tests/hash.lua
+++ b/tests/hash.lua
@@ -3,9 +3,9 @@ require "llib"
function test(name,b,exp)
local hash = llib.crypto[name](b)
if not (hash == exp) then
- print(name.." not working, got "..hash.." wanted "..exp)
+ llib.io.error(name.." not working, got "..hash.." wanted "..exp)
else
- print(name.." was correct, "..hash)
+ llib.io.log(name.." was correct, "..hash)
end
end