Jump to content

Module:URL/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Dcoetzee (talk | contribs) at 01:47, 27 February 2013 (debugging). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- Unit tests for [[Module:URL]]. Click talk page to run tests.
local p = require('Module:UnitTests')
 
function p:test_url()
    local cases = {
        '{{#invoke:URL|url}}',
        '{{#invoke:URL|url|}}',
        '{{#invoke:URL|url||}}',
    }
end

return p