Module:UnitTests/doc: Difference between revisions

Content deleted Content added
Methods: Fix formatting (nesting, wikitext syntax highlighting).
Effect -> affect.
 
(2 intermediate revisions by 2 users not shown)
Line 6:
 
function p:test_hello()
self:preprocess_equals('<nowiki>{{#invoke:Example | hello}}</nowiki>', 'Hello World!')
end
 
Line 91:
=== display ===
{{hatnote|Only available in <code>equals</code>}}
An optional function that changes how the output from the tests are displayed. This doesn't effectaffect the comparison process.
 
== See also ==
Line 98:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Modules for test tools|Test tools, {{PAGENAME}}]]
[[Category:Modules that check for strip markers]]
}}</includeonly>