diff options
| author | ruki <[email protected]> | 2021-09-18 16:03:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-18 16:03:53 +0800 |
| commit | 8a784a3c600eda3f631579f9127cf00b8ae52a69 (patch) | |
| tree | 01aa7cf0e26a2ab788b9d566a7eaa7fead87e331 /tests/modules/bytes | |
| parent | 0108980f36b996d575a87c59ead44da8fd059490 (diff) | |
| parent | 1ccb90835e59ed093d4026c781cf7e6abe08fdec (diff) | |
Merge pull request #1683 from xmake-io/lua53
Add Lua53 backend
Diffstat (limited to 'tests/modules/bytes')
| -rw-r--r-- | tests/modules/bytes/test.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modules/bytes/test.lua b/tests/modules/bytes/test.lua index 4cb272c94..aa29e3493 100644 --- a/tests/modules/bytes/test.lua +++ b/tests/modules/bytes/test.lua @@ -1,5 +1,9 @@ import("core.base.bytes") +if not xmake.luajit() then + return +end + function test_ctor(t) t:are_equal(bytes("123456789"):str(), "123456789") t:are_equal(bytes(bytes("123456789")):str(), "123456789") |
