diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2012-02-18 14:08:52 +0100 |
commit | 076344633e7b2525cf48005f84f3935f324b60bf (patch) | |
tree | 2a013da0ba2cd4a9f7eaf073a5ba128723f13154 /tests/require.lua | |
parent | b4582dd0bb65a916de7fa9612880b75a17c7ae7f (diff) | |
download | lanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.gz lanes-076344633e7b2525cf48005f84f3935f324b60bf.tar.bz2 lanes-076344633e7b2525cf48005f84f3935f324b60bf.zip |
* changed lanes.configure signature to receive a table instead of individual parameters
* added support for an on_state_create callback called to load custom functions in a state in addition to the base libraries
Diffstat (limited to 'tests/require.lua')
-rw-r--r-- | tests/require.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/require.lua b/tests/require.lua index 96717dc..f538dc6 100644 --- a/tests/require.lua +++ b/tests/require.lua | |||
@@ -4,7 +4,7 @@ | |||
4 | -- Test that 'require' works from sublanes | 4 | -- Test that 'require' works from sublanes |
5 | -- | 5 | -- |
6 | local lanes = require "lanes" | 6 | local lanes = require "lanes" |
7 | lanes.configure( 1) | 7 | lanes.configure() |
8 | 8 | ||
9 | local function a_lane() | 9 | local function a_lane() |
10 | -- To require 'math' we still actually need to have it initialized for | 10 | -- To require 'math' we still actually need to have it initialized for |