Jump to content

Module:Find country/testcases

From Wikipedia, the free encyclopedia
-- Unit tests for [[Module:Find country]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
-- function p:test_main()
	--  self:preprocess_equals('{{#invoke:Find country |main|"France is lovely at this time of year "}}') 
-- end
function p:test_main()
	
	self:preprocess_equals('{{#invoke:Find country|main}}', 'Find')
end

return p