From d7dbf0951d03f3c757de6a6e0fdad2af020e46de Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 27 Oct 2016 13:26:48 -0700 Subject: [PATCH] Add another `_.xor` test for multiple arrays. --- test/test.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 6f9d7ce97..e4d2ea5f6 100644 --- a/test/test.js +++ b/test/test.js @@ -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) {