Jump to content

Module:Find country/testcases

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Le Deluge (talk | contribs) at 14:51, 17 July 2020 (works for now). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- 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