模組:Find country/testcases

维基百科,自由的百科全书
-- 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