Module:ScribuntoUnit/sandbox: Difference between revisions

Content deleted Content added
fix to make plain parameter work properly
test using nowiki for display string of assertStringContains, don't truncate the display string as it makes debugging harder
Line 140:
end
if not mw.ustring.find(s, pattern, nil, plain) then
local display = s
if #display > 70self.frame then
display = mw.ustringtext.subnowiki(display, 1, 60) .. " ... " .. mw.ustring.sub(display, -10, -1s)
else
display = s
end
DebugHelper.raise({