diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/require.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/require.lua b/tests/require.lua index 1730ce4..b194af1 100644 --- a/tests/require.lua +++ b/tests/require.lua | |||
@@ -25,8 +25,10 @@ local function a_lane() | |||
25 | return v==42 | 25 | return v==42 |
26 | end | 26 | end |
27 | 27 | ||
28 | -- string and table for Lanes itself, package to be able to require in the lane, math for the actual work | ||
28 | local gen= lanes.gen( "math,package,string,table", {package={}},a_lane ) | 29 | local gen= lanes.gen( "math,package,string,table", {package={}},a_lane ) |
29 | 30 | ||
30 | local h= gen() | 31 | local h= gen() |
31 | local ret= h[1] | 32 | local ret= h[1] |
32 | assert( ret==true ) | 33 | assert( ret==true ) |
34 | print "TEST OK" \ No newline at end of file | ||