模組:Bananas/testcases

出自維基百科,自由嘅百科全書
Jump to navigation Jump to search
-- Unit tests for [[Module:Bananas]]. Click talk page to run tests.
local p = require('Module:UnitTests')

function p:test_hello()
    self:preprocess_equals('{{#invoke:Bananas | hello}}', 'Hello, world!')
end

return p