FANDOM


local p = require('Module:UnitTests')
 
function p:test_hello()
    self:preprocess_equals('{{#invoke:Hello world| hello}}', 'hello world')
    self:preprocess_equals('{{#invoke:Hello world| hello_nome1 |Cruifer|come stai}}', 'Hello, Cruifer, come stai?')
    self:preprocess_equals('{{#invoke:Hello world| hello_nome2 |nome=Cruifer|saluto=tutto bene}}', 'Hello, Cruifer, tutto bene?')
end
 
return p
 
 
----Crediti a: [https://it.wikipedia.org/wiki/Modulo:HelloWorld/test]