aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basic.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic.lua b/tests/basic.lua
index f44c75f..820d3c8 100644
--- a/tests/basic.lua
+++ b/tests/basic.lua
@@ -501,12 +501,12 @@ end)
501h= S { 12, 13, 14 } -- execution starts, h[1..3] will get the return values 501h= S { 12, 13, 14 } -- execution starts, h[1..3] will get the return values
502-- wait a bit so that the lane has a chance to set its debug name 502-- wait a bit so that the lane has a chance to set its debug name
503SLEEP(0.5) 503SLEEP(0.5)
504print("joining with '" .. h:get_debug_threadname() .. "'") 504print("joining with '" .. h:get_threadname() .. "'")
505local a,b,c,d= h:join() 505local a,b,c,d= h:join()
506if h.status == "error" then 506if h.status == "error" then
507 print(h:get_debug_threadname(), "error: " , a, b, c, d) 507 print(h:get_threadname(), "error: " , a, b, c, d)
508else 508else
509 print(h:get_debug_threadname(), a,b,c,d) 509 print(h:get_threadname(), a,b,c,d)
510 assert(a==14) 510 assert(a==14)
511 assert(b==13) 511 assert(b==13)
512 assert(c==12) 512 assert(c==12)