aboutsummaryrefslogtreecommitdiff
path: root/tests/nameof.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/nameof.lua')
-rw-r--r--tests/nameof.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nameof.lua b/tests/nameof.lua
index 1abcf3d..fb7332a 100644
--- a/tests/nameof.lua
+++ b/tests/nameof.lua
@@ -18,7 +18,7 @@ local body = function()
18end 18end
19 19
20-- start the lane without any library 20-- start the lane without any library
21local h = lanes.gen(nil, body)() 21local h = lanes.gen(nil, { name = 'auto' }, body)()
22SLEEP(0.1) 22SLEEP(0.1)
23print("Name of lane: ", lanes.nameof(h), "("..h.status..")") 23print("Name of lane: ", lanes.nameof(h), "("..h.status..")")
24assert(h.status == "running") 24assert(h.status == "running")