diff options
| author | ruki <[email protected]> | 2019-11-02 00:38:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-11-01 21:53:55 +0800 |
| commit | 6d4ad7fe1c5f8ac44b420a8cb5de0bc9cd0d37b6 (patch) | |
| tree | 059cf0d49ec8d7ef2f13c0c415f79619663c034c /tests/modules/bytes/test.lua | |
| parent | 2359364d3b4d8ff6c282be9ff721fc2d820d15a9 (diff) | |
improve bytes ctor
Diffstat (limited to 'tests/modules/bytes/test.lua')
| -rw-r--r-- | tests/modules/bytes/test.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modules/bytes/test.lua b/tests/modules/bytes/test.lua index 262f9ee65..52b754c0a 100644 --- a/tests/modules/bytes/test.lua +++ b/tests/modules/bytes/test.lua @@ -6,6 +6,7 @@ function test_ctor(t) t:are_equal(bytes("123456789"):size(), 9) t:are_equal(bytes(10):size(), 10) t:are_equal(bytes(bytes("123"), bytes("456"), bytes("789")):str(), "123456789") + t:are_equal(bytes({bytes("123"), bytes("456"), bytes("789")}):str(), "123456789") end function test_clone(t) |
