Module:Sandbox/Rprimus06/Second/testcases

Revision as of 11:06, 19 May 2013 by imported>Rprimus06 (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...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/Rprimus06/Second/testcases/doc

-- 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