aboutsummaryrefslogtreecommitdiff
path: root/tests/old/h.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/old/h.lua')
-rw-r--r--tests/old/h.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/old/h.lua b/tests/old/h.lua
new file mode 100644
index 0000000..a875b42
--- /dev/null
+++ b/tests/old/h.lua
@@ -0,0 +1,11 @@
+llib = require "lullaby"
+llib.io.print_meta = 1
+
+local a = llib.crypto.sha1()
+
+local b = llib.thread.buffer(a)
+
+llib.io.pprint(a)
+llib.io.pprint(b:get())
+llib.io.pprint((b + "meow"):final())
+