From ae9ddd74a23724b5883df4d076f6e936b8ea86b7 Mon Sep 17 00:00:00 2001 From: Alexey Androsov Date: Tue, 10 Jul 2012 15:12:32 +0400 Subject: [PATCH] update jsdoc for jasmine.Matchers.prototype.toThrow expected argument is optional --- src/core/Matchers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Matchers.js b/src/core/Matchers.js index ad025638..75b9a5a8 100644 --- a/src/core/Matchers.js +++ b/src/core/Matchers.js @@ -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;