diff options
| author | amelia squires <[email protected]> | 2025-04-16 13:09:46 -0500 |
|---|---|---|
| committer | amelia squires <[email protected]> | 2025-04-16 13:09:46 -0500 |
| commit | 009eb7d43d9582856c275ad3b16f7e3ff94209cc (patch) | |
| tree | 6d1f5ea000a6d72164a5b6e05b68dfbe0371ae06 /tests/old/buffer.lua | |
| parent | dd7a8af4050454c3901987bff24a77334f892cc4 (diff) | |
merge thingy
Diffstat (limited to 'tests/old/buffer.lua')
| -rw-r--r-- | tests/old/buffer.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/old/buffer.lua b/tests/old/buffer.lua new file mode 100644 index 0000000..3309aed --- /dev/null +++ b/tests/old/buffer.lua @@ -0,0 +1,9 @@ +llby = require "lullaby" + +b = llby.thread.buffer(llby.crypto.md5()) + +print(b.update(b:get(), "meow"):final()) +print(b.update(b:get(), "meow"):final()) +b:mod(function(this) return this:update("meow") end) +print(b.update(b:get(), "meow"):final()) + |
