aboutsummaryrefslogtreecommitdiff
path: root/tests/fifo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fifo.lua')
-rw-r--r--tests/fifo.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fifo.lua b/tests/fifo.lua
index d741931..e1bfeae 100644
--- a/tests/fifo.lua
+++ b/tests/fifo.lua
@@ -82,4 +82,6 @@ print( B:receive( 2.0))
82-- by multiple threads (other parts will be copied but the 'linda' 82-- by multiple threads (other parts will be copied but the 'linda'
83-- handle is shared userdata and will thus point to the single place) 83-- handle is shared userdata and will thus point to the single place)
84lanes.timer_lane:cancel() -- hard cancel, 0 timeout 84lanes.timer_lane:cancel() -- hard cancel, 0 timeout
85lanes.timer_lane:join() \ No newline at end of file 85local status, err = lanes.timer_lane:join()
86assert(status == nil and err == lanes.cancel_error, "status="..tostring(status).." err="..tostring(err))
87print "TEST OK"