From 80aaf2f01c4dda3af60a20a6fa9a89210eb75988 Mon Sep 17 00:00:00 2001 From: ame Date: Thu, 7 Dec 2023 16:07:55 -0600 Subject: readme & prettier tests --- tests/hash.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/hash.lua') 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 -- cgit v1.2.3