Module:Namespace detect/testcases: Difference between revisions

Content deleted Content added
add more
test case for bad titles
Line 192:
})
end
 
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[ aren't allowed in titles]]},
})
end
 
return p