Skip to content

Commit

Permalink
Merge pull request #397 from astorije/astorije/assert-plugin-api
Browse files Browse the repository at this point in the history
Add missing parameter showDiff and make docstring "documentationable"
  • Loading branch information
keithamus committed May 3, 2015
2 parents 08819da + 15b9c70 commit 73f5d99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chai.js
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
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 73f5d99

Please sign in to comment.