Module:ScribuntoUnit/sandbox: Difference between revisions

Content deleted Content added
No edit summary
test deepToString
Line 1:
local deepToString = require("Module:User:Anomie/deepToString")
 
-------------------------------------------------------------------------------
-- Unit tests for Scribunto.
Line 224 ⟶ 226:
DebugHelper.raise({
ScribuntoUnit = true,
text = string.format("Failed to assert that %s equals expected %s", tostring(actual), tostring(expected)),
deepToString.deepToString(actual),
deepToString.deepToString(expected)),
actual = actual,
expected = expected,