Skip to content

Commit

Permalink
Propagate the exhaustively flag in all cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Nov 21, 2015
1 parent 26f390d commit 6cbf5f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/assertions.js
Expand Up @@ -1001,7 +1001,7 @@ module.exports = function (expect) {
}
var result;
try {
result = expect(a, 'to satisfy', b);
result = expect(a, 'to [exhaustively] satisfy', b);
} catch (err) {
throwIfNonUnexpectedError(err);
toSatisfyMatrix[aIndex][bIndex] = err;
Expand All @@ -1025,7 +1025,7 @@ module.exports = function (expect) {
return cb(existingResult === true);
}
expect.promise(function () {
return expect(a, 'to satisfy', b);
return expect(a, 'to [exhaustively] satisfy', b);
}).then(function () {
toSatisfyMatrix[aIndex][bIndex] = true;
cb(true);
Expand Down

0 comments on commit 6cbf5f7

Please sign in to comment.