跳转到内容

Template:Documentation/preload-module-testcases

出自维基百科,自由个百科全书

-- Example Unit tests for Module:Bananas. Click talk page to run tests. local p = require('Module:UnitTests')

function p:test_hello()

   self:preprocess_equals('Hello, world!', 'Hello, world!')

end

return p