diff options
Diffstat (limited to 'tests/timer.lua')
-rw-r--r-- | tests/timer.lua | 5 |
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 @@ | |||
8 | io.stderr:setvbuf "no" | 8 | io.stderr:setvbuf "no" |
9 | 9 | ||
10 | 10 | ||
11 | local lanes = require "lanes" | 11 | local lanes = require "lanes".configure() |
12 | lanes.configure() | ||
13 | 12 | ||
14 | local linda= lanes.linda() | 13 | local linda= lanes.linda() |
15 | 14 | ||
@@ -101,3 +100,5 @@ PRINT "...making sure no ticks are coming..." | |||
101 | local k,v= linda:receive( 10, T1,T2 ) -- should not get any | 100 | local k,v= linda:receive( 10, T1,T2 ) -- should not get any |
102 | assert(v==nil) | 101 | assert(v==nil) |
103 | 102 | ||
103 | lanes.timer_lane:cancel() | ||
104 | print (lanes.timer_lane[1], lanes.timer_lane[2]) \ No newline at end of file | ||