Skip to content

Commit

Permalink
Merge pull request #101 from ptornhult/master
Browse files Browse the repository at this point in the history
fix(src): fix typo in error message
  • Loading branch information
mefellows authored Sep 29, 2017
2 parents c73e532 + e91588c commit f5387a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsl/matchers.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports.eachLike = (content, opts) => {
}

if (opts && (isNil(opts.min) || opts.min < 1)) {
throw new Error('Error creating a Pact eachLike. Please provide opts.min that is > 1')
throw new Error('Error creating a Pact eachLike. Please provide opts.min that is > 0')
}

return {
Expand Down

0 comments on commit f5387a0

Please sign in to comment.