Jump to content

Module:Citation mode/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hike395 (talk | contribs) at 17:42, 25 December 2024 (test without CS1config). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_CS1config_not_used()
	self:preprocess_equals('{{#invoke:Citation mode | cs2}}', ' cs2')
end

return p