summaryrefslogtreecommitdiff
path: root/tests/modules/compress/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/compress/test.lua')
-rw-r--r--tests/modules/compress/test.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/modules/compress/test.lua b/tests/modules/compress/test.lua
new file mode 100644
index 000000000..ac89b28e7
--- /dev/null
+++ b/tests/modules/compress/test.lua
@@ -0,0 +1,6 @@
+import("core.compress.lz4")
+
+function test_lz4_frame_compress(t)
+ t:are_equal(lz4.decompress(lz4.compress("hello world")), "hello world")
+end
+