Module:AfC submission catcheck/testcases

< Module:AfC submission catcheck
Revision as of 19:15, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:AfC submission catcheck/testcases)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:AfC submission catcheck/testcases/doc

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