Merge pull request #1581 from Rafase282/patch-1

Fix for Issue #1540
This commit is contained in:
benmcmahon100
2015-08-05 22:35:30 +01:00

View File

@ -356,7 +356,7 @@
" return arr1;", " return arr1;",
"}", "}",
"", "",
"unite([1, 2, 3], [5, 2, 1, 4], [2, 1]);" "unite([1, 3, 2], [5, 2, 1, 4], [2, 1]);"
], ],
"tests": [ "tests": [
"assert.deepEqual(unite([1, 3, 2], [5, 2, 1, 4], [2, 1]), [1, 3, 2, 5, 4], 'should return the union of the given arrays');", "assert.deepEqual(unite([1, 3, 2], [5, 2, 1, 4], [2, 1]), [1, 3, 2, 5, 4], 'should return the union of the given arrays');",