mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Remove without from skipRearg mapping. [closes #2365]
This commit is contained in:
@@ -304,7 +304,6 @@ exports.skipRearg = {
|
|||||||
'range': true,
|
'range': true,
|
||||||
'rangeRight': true,
|
'rangeRight': true,
|
||||||
'subtract': true,
|
'subtract': true,
|
||||||
'without': true,
|
|
||||||
'zip': true,
|
'zip': true,
|
||||||
'zipObject': true
|
'zipObject': true
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -496,7 +496,7 @@
|
|||||||
actual = fp.uniqBy(_.identity, other);
|
actual = fp.uniqBy(_.identity, other);
|
||||||
assert.deepEqual(actual, ['b', 'd'], 'fp.uniqBy');
|
assert.deepEqual(actual, ['b', 'd'], 'fp.uniqBy');
|
||||||
|
|
||||||
actual = fp.without(array)(other);
|
actual = fp.without(other)(array);
|
||||||
assert.deepEqual(actual, ['a', 'c'], 'fp.without');
|
assert.deepEqual(actual, ['a', 'c'], 'fp.without');
|
||||||
|
|
||||||
actual = fp.xor(other)(array);
|
actual = fp.xor(other)(array);
|
||||||
|
|||||||
Reference in New Issue
Block a user