Jump to content

Module:Professional wrestling profiles/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Silverfish (talk | contribs) at 14:01, 27 May 2016 (Add test cases for no inputs). 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)
-- Example Unit tests for [[Module:Professional wrestling]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_profiles_blank()
    self:preprocess_equals('{{#invoke:Professional wrestling | profiles}}', '');
    self:preprocess_equals('{{#invoke:Professional wrestling | profiles|name = John Cena}}', '');
end

return p