Jump to content

Module:WikiProject assessment progression/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Sasuke Sarutobi (talk | contribs) at 22:39, 3 December 2020 (Changing expected string to match example output). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local myModule = require('Module:Example')
local ScribuntoUnit = require('Module:ScribuntoUnit')
local suite = ScribuntoUnit:new()

-- Example unit test.
function suite:test_hello()
	self:assertSameResult('{{#invoke:Example | hello}}', 'Hello W	orld!')
end

return suite