From 40c5a6af49c97e1eef4e2c12c6b4de2a13e550f2 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 21 May 2016 14:26:04 -0700 Subject: [PATCH] Remove `without` from `skipRearg` mapping. [closes #2365] --- fp/_mapping.js | 1 - test/test-fp.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fp/_mapping.js b/fp/_mapping.js index 4393bc319..a30c5dee4 100644 --- a/fp/_mapping.js +++ b/fp/_mapping.js @@ -304,7 +304,6 @@ exports.skipRearg = { 'range': true, 'rangeRight': true, 'subtract': true, - 'without': true, 'zip': true, 'zipObject': true }; diff --git a/test/test-fp.js b/test/test-fp.js index ad693558c..36db6597b 100644 --- a/test/test-fp.js +++ b/test/test-fp.js @@ -496,7 +496,7 @@ actual = fp.uniqBy(_.identity, other); assert.deepEqual(actual, ['b', 'd'], 'fp.uniqBy'); - actual = fp.without(array)(other); + actual = fp.without(other)(array); assert.deepEqual(actual, ['a', 'c'], 'fp.without'); actual = fp.xor(other)(array);