diff options
| author | ruki <[email protected]> | 2022-05-08 20:00:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-08 20:00:38 +0800 |
| commit | 023ecb9d8f518b4e8b9740cabf9cc1b45d22e6f9 (patch) | |
| tree | 31e02c90696454b52fad65854fb424f842dcf1ef /tests/modules/compress/test.lua | |
| parent | 131e16c8a0a3534320e4712aadebeef9764cc4fe (diff) | |
improve test
Diffstat (limited to 'tests/modules/compress/test.lua')
| -rw-r--r-- | tests/modules/compress/test.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modules/compress/test.lua b/tests/modules/compress/test.lua index 38a65adf9..b12e2e877 100644 --- a/tests/modules/compress/test.lua +++ b/tests/modules/compress/test.lua @@ -1,6 +1,7 @@ import("core.compress.lz4") -function test_lz4_frame_compress(t) +function test_lz4(t) t:are_equal(lz4.decompress(lz4.compress("hello world")):str(), "hello world") + t:are_equal(lz4.block_decompress(lz4.block_compress("hello world"), 11):str(), "hello world") end |
