cjohansen/Sinon.JS — pull request #265 by brandonheyer (2013-04-05 19:35:39+00:00)
Title: Update call.js

If you: throw "a string"; sinon stores it directly in this.exception, and not as an object.

Updated to check to see if this.exception is a string, and if so compare directly with string being checked against.