FANDOM


-- <nowiki>
local userError = require('Module:User error')
local ScribuntoUnit = require('Module:ScribuntoUnit')
local suite = ScribuntoUnit:new()
 
function suite:test_works()
    self:assertEquals('<strong class="error">Error: message.</strong>', userError('message'))
end
 
function suite:test_categories_work()
    self:assertEquals('<strong class="error">Error: message.[[Category:cat1]][[Category:cat2]]</strong>', userError('message', 'cat1', 'cat2'))
end
 
return suite

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.