From 7065563ba5be2117b8ed9d194204d33ff73291bd Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 18 Sep 2021 13:45:41 +0800 Subject: disable bytes for lua --- tests/modules/bytes/test.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/modules/bytes/test.lua') 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") -- cgit v1.3.1