update jsdoc for jasmine.Matchers.prototype.toThrow

expected argument is optional
This commit is contained in:
Alexey Androsov
2012-07-10 15:12:32 +04:00
parent dad4865fbf
commit 500b856cfa

View File

@@ -311,7 +311,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;