Module:Annotated link/testcases: Difference between revisions

Content deleted Content added
update test expectations
nowiki not combined for alarming messages
Line 7:
 
function p:test__no_name_param()
self:preprocess_equals('{{#invoke:AnnotatedLink|main}}', '<span style="color:#d33">[[Module:AnnotatedLink]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module:AnnotatedLink]]', { combinednowiki = 1 })
end
 
function p:test__no_name_value()
self:preprocess_equals('{{#invoke:AnnotatedLink|main|name=}}', '<span style="color:#d33">[[Module:AnnotatedLink]] requires a page name (including namespace).</span>[[Category:Pages displaying alarming messages about Module:AnnotatedLink]]', { combinednowiki = 1 })
end