summaryrefslogtreecommitdiff
path: root/tests/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-19 00:42:27 +0800
committerruki <[email protected]>2025-08-28 11:35:53 +0800
commit9de0be5040e3feda8aface1174cd1e6fc696fe4e (patch)
treeb9256e58a7acfe57d8d6252277f8247b74bfa56d /tests/modules
parent5c371c00ead44993b83f26a754c32a3f8a799aa4 (diff)
bind sandbox
Diffstat (limited to 'tests/modules')
-rw-r--r--tests/modules/thread/sleep.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/modules/thread/sleep.lua b/tests/modules/thread/sleep.lua
index 9f7bb859c..cfc314c4c 100644
--- a/tests/modules/thread/sleep.lua
+++ b/tests/modules/thread/sleep.lua
@@ -1,8 +1,9 @@
import("core.thread.thread")
function callback(id)
- print("hello")
+ print(import)
--[[
+ import("core.thread.thread")
print("%s: %d starting ..", thread.running(), id)
local dt = os.mclock()
for i = 1, 10 do