Module:Wd/testcases: Difference between revisions

Content deleted Content added
Removing irrelevant test case
No edit summary
Line 1:
-- Unit tests for [[Module:Wd]]. Click talk page to run tests.
local p = require('Module:UnitTests')
 
function p:_test(frame)
require('Module:Wd')
local t = { a = 5, }; copyTable(t)
end
 
function p:test()
Line 7 ⟶ 12:
self:preprocess_equals('{{#invoke:Wd|_property }}', '')
self:preprocess_equals('{{#invoke:Wd|_property | hello}}', '')
self:preprocess_equals('{{#invoke:Wd/testcases|_test | hello}}', '')
end