Module:Documentation/testcases
Appearance
![]() | This is the test cases page for the module Module:Documentation. Results of the test cases. |
-- Test cases page for [[Module:Documentation]]. See talk page to run tests.
local doc = require('Module:Documentation')
local ScribuntoUnit = require('Module:ScribuntoUnit')
local suite = ScribuntoUnit:new()
function suite:testMessage()
self:assertEquals('sandbox', doc.message('sandboxSubpage', 'string'))
self:assertEquals('Subpages of this foobar', doc.message('subpagesLinkDisplay', 'string', {'foobar'}))
end
return suite