local SUITE = require('TestSuite').new('resilience') SUITE:setEnviroment{ --format = require('pretty') } -------------------------------------------------------------------------------- SUITE:addTest('library', function () -- This tests whether one could load the library with an empty env, without -- an error. local chunk = loadfile('./library.lua') setfenv(chunk, {}) local library = chunk() end) -------------------------------------------------------------------------------- return SUITE