Jump to content

Module:Lang-hbs/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Czarkoff (talk | contribs) at 22:18, 15 June 2014 (basic testcase). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
-- Example Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_hello()
    self:preprocess_equals('{{#invoke:hbs-cyr2lat|convert|Краљевина Југославија}}', 'Kraljevina Jugoslavija')
end

return p