Modulo:Categoria per anno/test: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+%s
+test_value_raw_2()
 
(2 versioni intermedie di uno stesso utente non sono mostrate)
Riga 4:
 
function p:test_raw()
self:preprocess_equals('{{#invoke:Categoria per anno|main|Software fondato nel %sd|raw=1|from=Q1431}}', 'Software fondato nel 1996')
end
 
function p:test_value_raw()
self:preprocess_equals('{{#invoke:Categoria per anno|main|Software fondato nel %d|raw=1|from=Q1431|value=4000}}', 'Software fondato nel 4000')
end
 
function p:test_value_raw_2()
self:preprocess_equals('{{#invoke:Categoria per anno|main|Software fondato nel %d|raw=1|from=Q1431|value=18 ottobre 4000}}', 'Software fondato nel 4000')
end