Jump to content

Module:Template test case: Difference between revisions

fix function name
(Don't export the table and nowiki functions. At the moment the Lua interfaces don't make much sense, and rewriting the module to include nice Lua interfaces would probably be a lot of wasted work, as Lua modules will generally use Lua-based test cases.)
(fix function name)
Line 456: Line 456:
function TableInvocation:getInvocation(template)
function TableInvocation:getInvocation(template)
if self.code then
if self.code then
local nowikiObj = NowikiInvocation(self.code, self.cfg)
local nowikiObj = NowikiInvocation.new(self.code, self.cfg)
return nowikiObj:getInvocation(template)
return nowikiObj:getInvocation(template)
else
else
Cookies help us deliver our services. By using our services, you agree to our use of cookies.