diff options
| author | ruki <[email protected]> | 2022-05-08 19:28:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-08 19:28:54 +0800 |
| commit | 67eed0e682e8b151de940f782d22e494f7f98612 (patch) | |
| tree | b433fc3b04f12a48fcaa898660b818ce1366790f /tests/modules/compress/test.lua | |
| parent | 8f1991ad6622e0f559492927585d67cc8d80572f (diff) | |
add compress test
Diffstat (limited to 'tests/modules/compress/test.lua')
| -rw-r--r-- | tests/modules/compress/test.lua | 6 |
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 + |
