function reportCompare(expected, actual, description) + ++actual + "'"; | |
var summary = 'Object.prototype.toLocaleString() should track Object.prototype.toString() '; | |
var o = { | |
toString: function () {} | |
}; | |
expect = o; | |
actual = o.toLocaleString(); | |
reportCompare(expect, actual, summary); |