repair lua spells (bad stack index)

add a whole bunch more spell tests
allow spell tests to disable fumbles
This commit is contained in:
Enno Rehling 2012-05-29 18:08:56 -07:00
parent 749d71f86d
commit 77be59a223
1 changed files with 2 additions and 1 deletions

View File

@ -1,9 +1,10 @@
require "spells"
require "example.rules" require "example.rules"
local srcpath = config.source_dir local srcpath = config.source_dir
tests = { tests = {
srcpath .. '/example/scripts/tests/rules.lua',
srcpath .. '/shared/scripts/tests/spells.lua', srcpath .. '/shared/scripts/tests/spells.lua',
srcpath .. '/shared/scripts/tests/common.lua', srcpath .. '/shared/scripts/tests/common.lua',
srcpath .. '/shared/scripts/tests/bson.lua', srcpath .. '/shared/scripts/tests/bson.lua',
srcpath .. '/example/scripts/tests/rules.lua',
} }