Jump to content

Module:Infobox gene/testcases: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
added actual test (not sure that this will work)
...
Line 1: Line 1:
-- Example Unit tests for [[Module:Bananas]]. Click talk page to run tests.
-- Example Unit tests for [[Module:Infobox gene]]. Click talk page to run tests.
local p = require('Module:UnitTests')
local p = require('Module:UnitTests')



Revision as of 15:00, 21 April 2019

-- Example Unit tests for [[Module:Infobox gene]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_hello()
	self:preprocess_equals('{{#invoke:Infobox gene|getTemplateData|QID=Q414043}}')
end

return p