模块:Find country/testcases
![]() | 这是Module:Find country的测试样例页,测试结果请见讨论页。 |
-- 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