Jump to content

Module:Weather box/row/testcases: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
TekXS (talk | contribs)
Created page with '-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests. local p = require('Module:UnitTests') -- Example unit test. function p:test_hello() self:preprocess_equals('{{#invoke:Example | hello}}', 'Hello, world!') end return p'
(No difference)

Revision as of 03:45, 8 September 2023

-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.
local p = require('Module:UnitTests')

-- Example unit test.
function p:test_hello()
	self:preprocess_equals('{{#invoke:Example | hello}}', 'Hello, world!')
end

return p