mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Add another _.xor test for multiple arrays.
This commit is contained in:
@@ -25270,10 +25270,13 @@
|
||||
});
|
||||
|
||||
QUnit.test('`_.' + methodName + '` should return the symmetric difference of multiple arrays', function(assert) {
|
||||
assert.expect(1);
|
||||
assert.expect(2);
|
||||
|
||||
var actual = func([2, 1], [2, 3], [3, 4]);
|
||||
assert.deepEqual(actual, [1, 4]);
|
||||
|
||||
actual = func([1, 2], [2, 1], [1, 2]);
|
||||
assert.deepEqual(actual, []);
|
||||
});
|
||||
|
||||
QUnit.test('`_.' + methodName + '` should return an array of unique values', function(assert) {
|
||||
|
||||
Reference in New Issue
Block a user