Skip to content

Commit

Permalink
Better docs for "increase | decrease" rename arguments and add proper…
Browse files Browse the repository at this point in the history
…ty arg
  • Loading branch information
vieiralucas committed Sep 12, 2016
1 parent c802d38 commit 508f8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chai/core/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ module.exports = function (chai, _) {
Assertion.addChainableMethod('changes', assertChanges);

/**
* ### .increase(function)
* ### .increase(target, property)
*
* Asserts that a function increases a numeric object property
*
Expand Down Expand Up @@ -2016,7 +2016,7 @@ module.exports = function (chai, _) {
Assertion.addChainableMethod('increases', assertIncreases);

/**
* ### .decrease(function)
* ### .decrease(target, property)
*
* Asserts that a function decreases a numeric object property
*
Expand Down

0 comments on commit 508f8b1

Please sign in to comment.