Skip to content

Commit

Permalink
Merge a3c1e2b into 4705499
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Nov 19, 2018
2 parents 4705499 + a3c1e2b commit 2566fe5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -50,8 +50,8 @@
"coveralls": "^3.0.2",
"mocha": "^5.2.0",
"nyc": "^13.1.0",
"prettier": "1.13.7",
"rollup": "^0.66.6",
"prettier": "1.15.2",
"rollup": "^0.67.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"source-map-support": "^0.5.9",
Expand Down
8 changes: 4 additions & 4 deletions src/check/arbitrary/SetArbitrary.ts
Expand Up @@ -88,10 +88,10 @@ function set<T>(
compareFn != null
? compareFn
: typeof bLength === 'function'
? (bLength as (a: T, b: T) => boolean)
: typeof aLength === 'function'
? (aLength as (a: T, b: T) => boolean)
: (a: T, b: T) => a === b;
? (bLength as (a: T, b: T) => boolean)
: typeof aLength === 'function'
? (aLength as (a: T, b: T) => boolean)
: (a: T, b: T) => a === b;

const arrayArb = new ArrayArbitrary<T>(arb, minLength, maxLength, buildCompareFilter(compare));
if (minLength === 0) return arrayArb;
Expand Down

0 comments on commit 2566fe5

Please sign in to comment.