1
0

Updated to setEnviroment calls in the testfiles to setEnvironment.

This commit is contained in:
Jon Michael Aanes 2017-10-22 11:59:55 +02:00
parent 5e657c6504
commit a13c6351c1
8 changed files with 8 additions and 8 deletions

View File

@ -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
} }

View File

@ -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',
} }

View File

@ -1,6 +1,6 @@
local SUITE = require 'TestSuite' 'function' local SUITE = require 'TestSuite' 'function'
SUITE:setEnviroment{ SUITE:setEnvironment{
format = require('pretty') format = require('pretty')
} }

View File

@ -1,6 +1,6 @@
local SUITE = require 'TestSuite' 'number' local SUITE = require 'TestSuite' 'number'
SUITE:setEnviroment{ SUITE:setEnvironment{
format = require('pretty') format = require('pretty')
} }

View File

@ -1,6 +1,6 @@
local SUITE = require 'TestSuite' 'pretty' local SUITE = require 'TestSuite' 'pretty'
SUITE:setEnviroment{ SUITE:setEnvironment{
format = require('pretty') format = require('pretty')
} }

View File

@ -1,6 +1,6 @@
local SUITE = require 'TestSuite' 'string' local SUITE = require 'TestSuite' 'string'
SUITE:setEnviroment{ SUITE:setEnvironment{
format = require('pretty') format = require('pretty')
} }

View File

@ -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,
} }

View File

@ -1,6 +1,6 @@
local SUITE = require 'TestSuite' 'sorting' local SUITE = require 'TestSuite' 'sorting'
SUITE:setEnviroment{ SUITE:setEnvironment{
pretty = require('pretty') pretty = require('pretty')
} }