Module:Error/testcases

-- Unit tests for Module:Error. Click talk page to run tests. local p = require('Module:UnitTests')

function p:test_error -- Minimal parameter input self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- space &#x20; self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, )

-- Plain message self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- tag self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- no message self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- ASCII nul self:preprocess_equals_preprocess(, ) -- nbsp self:preprocess_equals_preprocess(, ) -- Use numbered parameter self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- More extreme input options self:preprocess_equals_preprocess(, ) -- nbsp self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) -- ASCII nul

-- Tricky input options self:preprocess_equals_preprocess(, ) -- nbsp self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) end

function p:test_error_sandbox -- Minimal parameter input self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- space &#x20; self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, )

-- Plain message self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- tag self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- no message self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- ASCII nul self:preprocess_equals_preprocess(, ) -- nbsp self:preprocess_equals_preprocess(, ) -- Use numbered parameter self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) -- More extreme input options self:preprocess_equals_preprocess(, ) -- nbsp self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) -- ASCII nul

-- Tricky input options self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, , {nowiki = 'yes'}) self:preprocess_equals_preprocess(, ) self:preprocess_equals_preprocess(, ) end

return p