diff --git a/test/test_analyze_structure.lua b/test/test_analyze_structure.lua index 2297d53..361e107 100644 --- a/test/test_analyze_structure.lua +++ b/test/test_analyze_structure.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'analyze_structure' -SUITE:setEnviroment { +SUITE:setEnvironment { analyze_structure = require 'analyze_structure', TABLE_TYPE = require 'common' . TABLE_TYPE } diff --git a/test/test_cdata.lua b/test/test_cdata.lua index 0b91f3f..1165db5 100644 --- a/test/test_cdata.lua +++ b/test/test_cdata.lua @@ -4,7 +4,7 @@ local SUITE = require 'TestSuite' 'cdata' -- Only relevant in LUAJIT. if type(jit) ~= 'table' or true then return SUITE end -SUITE:setEnviroment{ +SUITE:setEnvironment{ format = require 'pretty', analyze_byte_string = require 'analyze_byte_string', } diff --git a/test/test_function.lua b/test/test_function.lua index 0dc9aed..a6aebf4 100644 --- a/test/test_function.lua +++ b/test/test_function.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'function' -SUITE:setEnviroment{ +SUITE:setEnvironment{ format = require('pretty') } diff --git a/test/test_number.lua b/test/test_number.lua index d6e8267..503f1f8 100644 --- a/test/test_number.lua +++ b/test/test_number.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'number' -SUITE:setEnviroment{ +SUITE:setEnvironment{ format = require('pretty') } diff --git a/test/test_pretty.lua b/test/test_pretty.lua index 521c5a3..4de8ad5 100644 --- a/test/test_pretty.lua +++ b/test/test_pretty.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'pretty' -SUITE:setEnviroment{ +SUITE:setEnvironment{ format = require('pretty') } diff --git a/test/test_pstring.lua b/test/test_pstring.lua index 9c5bda6..e7c6bb2 100644 --- a/test/test_pstring.lua +++ b/test/test_pstring.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'string' -SUITE:setEnviroment{ +SUITE:setEnvironment{ format = require('pretty') } diff --git a/test/test_resilience.lua b/test/test_resilience.lua index d4c0e10..378b20e 100644 --- a/test/test_resilience.lua +++ b/test/test_resilience.lua @@ -23,7 +23,7 @@ end -------------------------------------------------------------------------------- local SUITE = require 'TestSuite' 'resilience' -SUITE:setEnviroment{ +SUITE:setEnvironment{ pretty = require('pretty'), setfenv = setfenv, } diff --git a/test/test_sorting.lua b/test/test_sorting.lua index b39346a..1b3a0d2 100644 --- a/test/test_sorting.lua +++ b/test/test_sorting.lua @@ -1,6 +1,6 @@ local SUITE = require 'TestSuite' 'sorting' -SUITE:setEnviroment{ +SUITE:setEnvironment{ pretty = require('pretty') }