Module:Check for unknown parameters/testcases: Difference between revisions
Appearance
Content deleted Content added
←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()...' |
(No difference)
|
Revision as of 18:38, 29 December 2019
![]() | This is the test cases page for the module Module:Check for unknown parameters. Results of the test cases. |
-- 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