From 15b9c70710f29c996ab84659b0dc3786bd91c82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Mon, 9 Mar 2015 20:22:33 -0400 Subject: [PATCH] Add missing parameter showDiff and make docstring "documentationable" --- chai.js | 4 ++-- lib/chai/assertion.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chai.js b/chai.js index 9218d1914..75e7712f8 100644 --- a/chai.js +++ b/chai.js @@ -845,8 +845,8 @@ module.exports = function (_chai, util) { util.overwriteChainableMethod(this.prototype, name, fn, chainingBehavior); }; - /*! - * ### .assert(expression, message, negateMessage, expected, actual) + /** + * ### .assert(expression, message, negateMessage, expected, actual, showDiff) * * Executes an expression and check expectations. Throws AssertionError for reporting if test doesn't pass. * diff --git a/lib/chai/assertion.js b/lib/chai/assertion.js index 24c9fc16d..b76700c86 100644 --- a/lib/chai/assertion.js +++ b/lib/chai/assertion.js @@ -81,8 +81,8 @@ module.exports = function (_chai, util) { util.overwriteChainableMethod(this.prototype, name, fn, chainingBehavior); }; - /*! - * ### .assert(expression, message, negateMessage, expected, actual) + /** + * ### .assert(expression, message, negateMessage, expected, actual, showDiff) * * Executes an expression and check expectations. Throws AssertionError for reporting if test doesn't pass. *