Module:GetShortDescription/testcases: Difference between revisions

Content deleted Content added
calming the error messages down a bit + test for nonexistent page
m missed period
Line 29:
 
function p:test__nonexistent_page_name()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/nonexistent page}}', '<span style="color:#d33">[[Module:GetShortDescription]] could not getContent of [[:User:Fred Gandt/nonexistent page|User:Fred Gandt/nonexistent page]].</span>', {combined = 1})
end