diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 12:10:05 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-05-29 12:10:05 +0200 |
commit | 5890678289e28cc9e666c1dda8265712bd27ac03 (patch) | |
tree | 1e5104f5d6e740573066b9df9fa498e27b79e01e /tests | |
parent | d9400c00c05590e0d0e40e6775dc338d28b92f14 (diff) | |
download | lanes-5890678289e28cc9e666c1dda8265712bd27ac03.tar.gz lanes-5890678289e28cc9e666c1dda8265712bd27ac03.tar.bz2 lanes-5890678289e28cc9e666c1dda8265712bd27ac03.zip |
Fix lanes.lua dependency on "io"
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 | ||