Module:Protected edit request/testcases
< Module:Protected edit request
Jump to navigation
Jump to search
Revision as of 03:00, 5 October 2018 by 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...')
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:Bananas | hello}}', 'Hello, world!')
end
return p