模組: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