From 67eed0e682e8b151de940f782d22e494f7f98612 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 8 May 2022 19:28:54 +0800 Subject: add compress test --- tests/modules/compress/test.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/modules/compress/test.lua 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 + -- cgit v1.3.1