summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-08 19:29:28 +0800
committerruki <[email protected]>2022-05-08 19:29:28 +0800
commit517b91f7101291627e992f587e382f930855c320 (patch)
treeae766bd0f85eda68d4902ff3d2754252e3a48a5c /tests/modules
parent67eed0e682e8b151de940f782d22e494f7f98612 (diff)
fix compress test
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/compress/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/compress/test.lua b/tests/modules/compress/test.lua
index ac89b28e7..38a65adf9 100644
--- a/tests/modules/compress/test.lua
+++ b/tests/modules/compress/test.lua
@@ -1,6 +1,6 @@
import("core.compress.lz4")
function test_lz4_frame_compress(t)
- t:are_equal(lz4.decompress(lz4.compress("hello world")), "hello world")
+ t:are_equal(lz4.decompress(lz4.compress("hello world")):str(), "hello world")
end