forked from github/server
re-enable missing tests in E2
This commit is contained in:
parent
5010b2e8d1
commit
649e662331
|
@ -1,6 +1,10 @@
|
|||
require "lunit"
|
||||
|
||||
module("tests.e2.trees", package.seeall, lunit.testcase )
|
||||
local tcname = 'tests.e2.trees'
|
||||
local lunit = require("lunit")
|
||||
if _VERSION >= 'Lua 5.2' then
|
||||
_ENV = module(tcname, 'seeall')
|
||||
else
|
||||
module(tcname, 'seeall')
|
||||
end
|
||||
|
||||
function setup()
|
||||
eressea.game.reset()
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
require "lunit"
|
||||
|
||||
module("tests.e2.trolls", package.seeall, lunit.testcase )
|
||||
local tcname = 'tests.e2.trolls'
|
||||
local lunit = require("lunit")
|
||||
if _VERSION >= 'Lua 5.2' then
|
||||
_ENV = module(tcname, 'seeall')
|
||||
else
|
||||
module(tcname, 'seeall')
|
||||
end
|
||||
|
||||
function setup()
|
||||
eressea.free_game()
|
||||
|
|
Loading…
Reference in New Issue