From 500b856cfa2697b6f2f452d9f31322da27c49e70 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 7303facb..150a73b6 100644 --- a/src/core/Matchers.js +++ b/src/core/Matchers.js @@ -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;