re-enable missing tests in E2

This commit is contained in:
Enno Rehling 2020-05-02 11:13:26 +02:00
parent c1412d3050
commit 0d5bef5256
2 changed files with 14 additions and 6 deletions

View File

@ -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()

View File

@ -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()