aboutsummaryrefslogtreecommitdiff
path: root/tests/require.lua
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2012-02-18 14:08:52 +0100
committerBenoit Germain <bnt.germain@gmail.com>2012-02-18 14:08:52 +0100
commit076344633e7b2525cf48005f84f3935f324b60bf (patch)
tree2a013da0ba2cd4a9f7eaf073a5ba128723f13154 /tests/require.lua
parentb4582dd0bb65a916de7fa9612880b75a17c7ae7f (diff)
downloadlanes-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.lua2
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--
6local lanes = require "lanes" 6local lanes = require "lanes"
7lanes.configure( 1) 7lanes.configure()
8 8
9local function a_lane() 9local 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