Module:GetShortDescription/testcases: Difference between revisions

Content deleted Content added
this makes more sense
removed practically unhandleable whitespace tests
Line 258:
function p:test__only_explicit__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description none|only=explicit}}', "")
end
 
function p:test__only_explicit__whitespace()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description whitespace|only=explicit}}', "")
end
 
Line 282 ⟶ 278:
function p:test__only_explicit__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description numbered none|only=explicit}}', "")
end
 
function p:test__only_explicit__numbered__whitespace()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description numbered whitespace|only=explicit}}', "")
end
 
Line 294 ⟶ 286:
function p:test__only_explicit__complex__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description complex none|only=explicit}}', "")
end
 
function p:test__only_explicit__complex__whitespace()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description complex whitespace|only=explicit}}', "")
end
 
Line 306 ⟶ 294:
function p:test__only_explicit__complex__numbered__none()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description complex numbered none|only=explicit}}', "")
end
 
function p:test__only_explicit__complex__numbered__whitespace()
self:preprocess_equals('{{#invoke:GetShortDescription|main|name=User:Fred Gandt/sandbox/explicit short description complex numbered whitespace|only=explicit}}', "")
end