Difference between revisions of "Module:Protected edit request/testcases"
Jump to navigation
Jump to search
blackwiki>BrandonXLF (←Created page with '-- Example Unit tests for Module:Bananas. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_hello() self:preprocess_equal...') |
blackwiki>BrandonXLF |
||
| Line 3: | Line 3: | ||
function p:test_hello() | function p:test_hello() | ||
| − | self:preprocess_equals('{{#invoke: | + | self:preprocess_equals('{{#invoke:Protected edit request | semi}}', 'Hello, world!') |
end | end | ||
return p | return p | ||
Revision as of 03:01, 5 October 2018
Documentation for this module may be created at Module:Protected edit request/testcases/doc
-- Example Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')
function p:test_hello()
self:preprocess_equals('{{#invoke:Protected edit request | semi}}', 'Hello, world!')
end
return p