Module:Sandbox/Aidan9382/testcases: Difference between revisions

Content deleted Content added
+highlighting
Tag: Reverted
use sandbox
 
(2 intermediate revisions by the same user not shown)
Line 22:
 
function p:test_funcBegginningTest_nowiki()
self:preprocess_equals('<span>[[Example|Function 2]]</span>', '<span>[[Example|Function 2]]</span>', {nowiki=true, highlight=true})
end
 
function p:test_doomedToFail_nowiki()
self:preprocess_equals('<span>[[Example|Function 3]]</span>', '<span>[[Example|Function 4]]</span>', {nowiki=true, highlight=true})
end
 
Line 32:
 
function p:test_funcBegginningTest_combined()
self:preprocess_equals('{{safesubst:text|1=<span>[[Example|Function 2]]</span>}}', '<span>[[Example|Function 2]]</span>', {combined=true, highlight=true})
end
 
function p:test_doomedToFail_combined()
self:preprocess_equals('<span>[[Example|Function 3]]</span>', '<span>[[Example|Function 4]]</span>', {combined=true, highlight=true})
end