Jump to content

Module:Link with country/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hohum (talk | contribs) at 23:41, 19 May 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
-- Unit tests for [[Module:Link with country]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_countrynames()
	self:preprocess_equals('{{#invoke:Link with country | countrynames | United States of America | property=P495 }}', 'United States')
end

return p