From 023ecb9d8f518b4e8b9740cabf9cc1b45d22e6f9 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 8 May 2022 20:00:38 +0800 Subject: improve test --- tests/modules/compress/test.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.3.1