Module:UnitTests/testcases/frame
local p = {}
local frame0 = mw.getCurrentFrame()
local frame0_getTitle = frame0:getTitle()
local getCurrentFrame_getTitle = mw.getCurrentFrame():getTitle()
local arg = ...
function p._test(frame)
return
"# " .. frame:getTitle() .. "\n" ..
"# " .. frame0:getTitle() .. "\n" ..
"# " .. frame0_getTitle .. "\n" ..
"# " .. getCurrentFrame_getTitle .. "\n" ..
"# " .. mw.dumpObject(arg) .. "\n" ..
""
end
return p