diff options
Diffstat (limited to 'tests/nameof.lua')
-rw-r--r-- | tests/nameof.lua | 2 |
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() | |||
18 | end | 18 | end |
19 | 19 | ||
20 | -- start the lane without any library | 20 | -- start the lane without any library |
21 | local h = lanes.gen(nil, body)() | 21 | local h = lanes.gen(nil, { name = 'auto' }, body)() |
22 | SLEEP(0.1) | 22 | SLEEP(0.1) |
23 | print("Name of lane: ", lanes.nameof(h), "("..h.status..")") | 23 | print("Name of lane: ", lanes.nameof(h), "("..h.status..")") |
24 | assert(h.status == "running") | 24 | assert(h.status == "running") |