summaryrefslogtreecommitdiff
path: root/tests/modules/bytes/test.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-21 00:35:04 +0800
committerruki <[email protected]>2021-09-21 00:35:04 +0800
commitde47ad0121ca4155777005976b05debeda67aca6 (patch)
tree0cb535481ec2f4522ed73f73b663d30e40a054b5 /tests/modules/bytes/test.lua
parent6bd955fbacc03792d8b36dffa087967e9e056e31 (diff)
add byteof
Diffstat (limited to 'tests/modules/bytes/test.lua')
-rw-r--r--tests/modules/bytes/test.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/modules/bytes/test.lua b/tests/modules/bytes/test.lua
index ac12db29c..4cb272c94 100644
--- a/tests/modules/bytes/test.lua
+++ b/tests/modules/bytes/test.lua
@@ -10,7 +10,6 @@ function test_ctor(t)
t:are_equal(bytes({bytes("123"), bytes("456"), bytes("789")}):str(), "123456789")
end
---[[
function test_clone(t)
t:are_equal(bytes(10):clone():size(), 10)
t:are_equal(bytes("123456789"):clone():str(), "123456789")
@@ -36,4 +35,4 @@ end
function test_concat(t)
t:are_equal((bytes("123") .. bytes("456")):str(), "123456")
t:are_equal(bytes(bytes("123"), bytes("456")):str(), "123456")
-end]]
+end