Module:Sandbox/Wade and Module:Sandbox/Wade/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Wade0612
google code in
 
imported>Wade0612
No edit summary
 
Line 1: Line 1:
--[[
--Wade,Google Code-in 2017, Introduction to Lua in Wikipedia
--Wade,Google Code-in 2017, Introduction to Lua in Wikipedia
--]]
local p = require('Module:UnitTests')
function p:test_hello()
    self:preprocess_equals('{{#invoke:Bananas | hello}}', 'Hello, world!')
end
return p