Jump to content

Module:AfC submission catcheck/testcases

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Pppery (talk | contribs) at 02:36, 6 October 2021. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local p = require('Module:UnitTests')

function p:test_old()
	--copy of current module, but returns categories as [[:Category:AfC submissions with categories]] rather than [[Category:AfC submissions with categories]] for easier analysis
    self:preprocess_equals('{{#invoke:AfC submission catcheck/sandbox2 | checkforcats}}', '')
end

function p:test_new()
    self:preprocess_equals('{{#invoke:AfC submission catcheck/sandbox | checkforcats}}', '')
end

return p