Module:ScribuntoUnit/testcases: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 15:
end)
if not success and (type(details) ~= 'table' or not details.ScribuntoUnit) then -- a real error, not a failed assertion
success = false
errmsg = 'Lua error: ' .. tostring(details)
end
if success and== not shouldFail then
out = out .. 'OK'
else