[self-test] fix nil dereference crash in test.isequal
end
else
if (expected ~= actual) then
- m.fail(depth, "expected %s but was %s", expected, actual)
+ m.fail(depth, "expected %s but was %s", expected, actual or "nil")
end
end
return true
