Module:Template test case: Difference between revisions

protect call templateObj:getOutput()
(fix for missing before or after parameters)
(protect call templateObj:getOutput())
Line 302:
 
function TestCase:getTemplateOutput(templateObj)
local outputprotect = templateObj:getOutputrequire('Module:Protect')
-- calling templateObj:getOutput()
local output = protect(templateObj.getOutput)(templateObj)
if self.options.resetRefs then
mw.getCurrentFrame():extensionTag('references')
Anonymous user