Updated to setEnviroment
calls in the testfiles to setEnvironment
.
This commit is contained in:
parent
5e657c6504
commit
a13c6351c1
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'analyze_structure'
|
local SUITE = require 'TestSuite' 'analyze_structure'
|
||||||
SUITE:setEnviroment {
|
SUITE:setEnvironment {
|
||||||
analyze_structure = require 'analyze_structure',
|
analyze_structure = require 'analyze_structure',
|
||||||
TABLE_TYPE = require 'common' . TABLE_TYPE
|
TABLE_TYPE = require 'common' . TABLE_TYPE
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ local SUITE = require 'TestSuite' 'cdata'
|
||||||
-- Only relevant in LUAJIT.
|
-- Only relevant in LUAJIT.
|
||||||
if type(jit) ~= 'table' or true then return SUITE end
|
if type(jit) ~= 'table' or true then return SUITE end
|
||||||
|
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
format = require 'pretty',
|
format = require 'pretty',
|
||||||
analyze_byte_string = require 'analyze_byte_string',
|
analyze_byte_string = require 'analyze_byte_string',
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'function'
|
local SUITE = require 'TestSuite' 'function'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
format = require('pretty')
|
format = require('pretty')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'number'
|
local SUITE = require 'TestSuite' 'number'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
format = require('pretty')
|
format = require('pretty')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'pretty'
|
local SUITE = require 'TestSuite' 'pretty'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
format = require('pretty')
|
format = require('pretty')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'string'
|
local SUITE = require 'TestSuite' 'string'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
format = require('pretty')
|
format = require('pretty')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ end
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'resilience'
|
local SUITE = require 'TestSuite' 'resilience'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
pretty = require('pretty'),
|
pretty = require('pretty'),
|
||||||
setfenv = setfenv,
|
setfenv = setfenv,
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
local SUITE = require 'TestSuite' 'sorting'
|
local SUITE = require 'TestSuite' 'sorting'
|
||||||
SUITE:setEnviroment{
|
SUITE:setEnvironment{
|
||||||
pretty = require('pretty')
|
pretty = require('pretty')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user