Module:Sandbox/Rprimus06/Second/testcases

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Rprimus06 at 11:06, 19 May 2013 (Created page with '-- Example Unit tests for Module:andbox/Rprimus06/Second. Click talk page to run tests. local p = require('Module:UnitTests') function p:test_hello() s...'). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
-- Example Unit tests for [[Module:andbox/Rprimus06/Second]]. Click talk page to run tests.
local p = require('Module:UnitTests')
 
function p:test_hello()
    self:preprocess_equals("{{#invoke:Sandbox/Rprimus06/Second | helloworld}}" , 'Hello from Lua unknown')
end
 
return p