aboutsummaryrefslogtreecommitdiff
path: root/tests/timer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timer.lua')
-rw-r--r--tests/timer.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/timer.lua b/tests/timer.lua
index 953e4ed..805d85c 100644
--- a/tests/timer.lua
+++ b/tests/timer.lua
@@ -8,8 +8,7 @@
8io.stderr:setvbuf "no" 8io.stderr:setvbuf "no"
9 9
10 10
11local lanes = require "lanes" 11local lanes = require "lanes".configure()
12lanes.configure()
13 12
14local linda= lanes.linda() 13local linda= lanes.linda()
15 14
@@ -101,3 +100,5 @@ PRINT "...making sure no ticks are coming..."
101local k,v= linda:receive( 10, T1,T2 ) -- should not get any 100local k,v= linda:receive( 10, T1,T2 ) -- should not get any
102assert(v==nil) 101assert(v==nil)
103 102
103lanes.timer_lane:cancel()
104print (lanes.timer_lane[1], lanes.timer_lane[2]) \ No newline at end of file