Module:Check for unknown parameters/testcases: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 2:
local p = require('Module:UnitTests')
 
function p:test_01_1_check_livetest_01_1_check()
self:preprocess_equals_manypreprocess_equals_sandbox_many('{{Module talk:Check for unknown parameters/testcases/template call|', '}}', {
{"arg1 =arg1| args2arg2=arg2 | name=name | height=height | weight=weight | website=website", "Unknown 1 = name ,Unknown 2 = height ,Unknown 3 = weight website,Unknown 4 = websiteweight,"},
}, {nowiki=1})
})
end
 
function p:test_01_2_check_sandbox()
self:preprocess_equals_many('{{Module talk:Check for unknown parameters/testcases/template call|', '}}', {
{"arg1 | args2 | name | height | weight | website", "Unknown 1 = name ,Unknown 2 = height ,Unknown 3 = weight ,Unknown 4 = website,"},
})
end