Module:Template invocation/testcases
Appearance
![]() | This is the test cases page for the module Module:Template invocation. Results of the test cases. |
-- Example Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_hello()
local mTemplateInvocation = require('Module:Template invocation')
return mTemplateInvocation.invocation('foo', {'bar', 'baz', abc = 'def'})
-- self:preprocess_equals('{{#invoke:Template invocation | hello}}', 'Hello, world!')
end
return p