Module:Annotated link/testcases: Difference between revisions

Content deleted Content added
add function p:test__prefix_parentheses()
test non-sandbox module
Line 327:
 
function p:test__prefix_parentheses()
self:preprocess_equals('{{#invoke:Annotated_link/sandbox|main|name=Jimmy Wales|dash=,|prefix_parentheses=y|desc_first_letter_case=lower}}', "[[:Jimmy Wales|Jimmy Wales]] (born 1966), co-founder of Wikipedia")
self:preprocess_equals('{{#invoke:Annotated_link/sandbox|main|name=Jimmy Wales|dash=,|desc_first_letter_case=lower}}', "[[:Jimmy Wales|Jimmy Wales]], co-founder of Wikipedia (born 1966)")
end