Skip to content

Commit

Permalink
fix(src): fix typo in eachLike error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Nov 4, 2017
1 parent 302357f commit 601d158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsl/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function eachLike<T>(content: T, opts?: { min: number }) {
}

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 601d158

Please sign in to comment.