Jump to content

Module:Template parameter value/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Aidan9382 (talk | contribs) at 11:14, 23 February 2023 (initial test). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
--Go to the talk page to see the results of the tests. See [[Template:Template parameter value/testpage]] for the content used in testing
local p = require('Module:UnitTests')
local TestPage = "Template:Template parameter value/testpage"

function p:test_processing()
    self:preprocess_equals_sandbox_many('{{#invoke:Template paramterer value', 'main', {
        {TestPage, 'content'},
        {TestPage, 'content'},
    }, {nowiki=1})
end

return p