Module:Check for unknown parameters/testcases
< Module:Check for unknown parameters
Jump to navigation
Jump to search
Revision as of 18:38, 29 December 2019 by blackwiki>Gonnym (←Created page with '-- Unit tests for Module:Check for unknown parameters. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_01_1_check_live()...')
Documentation for this module may be created at Module:Check for unknown parameters/testcases/doc
-- Unit tests for [[Module:Check for unknown parameters]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_01_1_check_live()
self:preprocess_equals_many('{{#invoke:Check for unknown parameters|check', '}}', {
{"|arg1|arg2|arg3|argN", ""},
})
end
function p:test_01_2_check_sandbox()
self:preprocess_equals_many('{{#invoke:Check for unknown parameters/sandbox|check', '}}', {
{"|arg1|arg2|arg3|argN", ""},
})
end
return p