This is the current revision of this page, as edited by Dissident93(talk | contribs) at 22:04, 2 March 2025(←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'). The present address (URL) is a permanent link to this version.Revision as of 22:04, 2 March 2025 by Dissident93(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')
-- Unit tests for [[Module:{{ROOTPAGENAME}}]]. Click talk page to run tests.localp=require('Module:UnitTests')-- Example unit test.functionp:test_hello()self:preprocess_equals('{{#invoke:Example | hello}}','Hello, world!')endreturnp