Add another _.xor test for multiple arrays.

This commit is contained in:
John-David Dalton
2016-10-27 13:26:48 -07:00
parent daf6de6a46
commit d7dbf0951d

View File

@@ -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) {