cjohansen/Sinon.JS — pull request #194 by kbackowski (2012-10-30 15:51:39+00:00)
Title: Format arguments output when mock expectation is not met

Hi,

I've used sinon.format function to format arguments in verify output when expectation is not met.

So now we'll get the output like :

Anonymous mock received wrong arguments [{ status: true }], expected [{ status: false }]

Instead of

Anonymous mock received wrong arguments ([object Object]), expected [object Object]

This fixes #191