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. *