Module:PopulationFromWikidata/testcases: Difference between revisions
Appearance
Content deleted Content added
←Created page with '--Test cases for the sandbox version of the PopulationFromWikidata module. This is a Lua module for testing the sandbox module. -- we inherit p from another module -- UnitTests is a system of testing modules. We'll expose the outputs of tests. local p = require("module:UnitTests") function p:test1() self:preprocess_equals('{{#invoke:PopulationFromWikidata|ListForInfobox}}', '' ) end return p' |
(No difference)
|
Revision as of 03:47, 11 July 2022
![]() | This is the test cases page for the module Module:PopulationFromWikidata. Results of the test cases. |
--Test cases for the sandbox version of the PopulationFromWikidata module. This is a Lua module for testing the sandbox module.
-- we inherit p from another module
-- UnitTests is a system of testing modules. We'll expose the outputs of tests.
local p = require("module:UnitTests")
function p:test1()
self:preprocess_equals('{{#invoke:PopulationFromWikidata|ListForInfobox}}', ''
)
end
return p