Template:Documentation/preload-module-testcases
< Template:Documentation
Jump to navigation
Jump to search
Revision as of 11:58, 12 December 2019 by test>Gonnym (No reason why this needs to be manually changed by users. It should automatically have the actual module name.)
-- Unit tests for Module:Documentation. Click talk page to run tests. local p = require('Module:UnitTests')
-- Example unit test. function p:test_hello() self:preprocess_equals('Script error: No such module "Bananas".', 'Hello, world!') end
return p