Module:Namespace detect/testcases: Difference between revisions

Content deleted Content added
test case for bad titles
tweak bad title test case
Line 195:
function p:test_bad_titles()
self:preprocess_equals_preprocess_many('{{#invoke:Namespace detect|main', '}}', '{{namespace detect', '}}', {
{[==[
| main = Article text.
| talk = Any talk page text.
| user = User page text.
| other = Other pages text.
| page = Talk:Square brackets[[brackets]] aren't allowed in page titles]==]},
})
end