diff options
Diffstat (limited to 'tests/require.lua')
-rw-r--r-- | tests/require.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/require.lua b/tests/require.lua index 656a7dd..1730ce4 100644 --- a/tests/require.lua +++ b/tests/require.lua | |||
@@ -7,7 +7,7 @@ lanes = require "lanes" | |||
7 | lanes.configure{with_timers = false} | 7 | lanes.configure{with_timers = false} |
8 | 8 | ||
9 | local function a_lane() | 9 | local function a_lane() |
10 | print "IN A LANE" | 10 | print "IN A LANE" |
11 | -- To require 'math' we still actually need to have it initialized for | 11 | -- To require 'math' we still actually need to have it initialized for |
12 | -- the lane. | 12 | -- the lane. |
13 | -- | 13 | -- |
@@ -16,7 +16,7 @@ local function a_lane() | |||
16 | assert( math.sqrt(4)==2 ) | 16 | assert( math.sqrt(4)==2 ) |
17 | 17 | ||
18 | assert( lanes==nil ) | 18 | assert( lanes==nil ) |
19 | local lanes = require "lanes".configure{with_timers = false} | 19 | local lanes = require "lanes" |
20 | assert( lanes and lanes.gen ) | 20 | assert( lanes and lanes.gen ) |
21 | 21 | ||
22 | local h= lanes.gen( function() return 42 end ) () | 22 | local h= lanes.gen( function() return 42 end ) () |