Template:Documentation/preload-module-testcases

From IDU Wiki
Jump to navigation Jump to search

-- 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 "Example".', 'Hello, world!') end

return p