Skip to content

Commit

Permalink
Add missing parameter showDiff and make docstring "documentationable"
Browse files Browse the repository at this point in the history
  • Loading branch information
astorije committed Mar 10, 2015
1 parent 57bd502 commit 15b9c70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chai.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
4 changes: 2 additions & 2 deletions lib/chai/assertion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 15b9c70

Please sign in to comment.