Merge pull request #251 from doochik/patch-1

update jsdoc for jasmine.Matchers.prototype.toThrow
This commit is contained in:
Davis W. Frank
2012-09-02 17:40:51 -07:00

View File

@@ -308,7 +308,7 @@ jasmine.Matchers.prototype.toBeCloseTo = function(expected, precision) {
/**
* Matcher that checks that the expected exception was thrown by the actual.
*
* @param {String} expected
* @param {String} [expected]
*/
jasmine.Matchers.prototype.toThrow = function(expected) {
var result = false;