Merge pull request #2880 from skaunov/patch-1

Update test.js
This commit is contained in:
Ilya Kantor 2022-02-18 17:38:43 +03:00 committed by GitHub
commit d3bfbe3487
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,13 @@ describe("filterRangeInPlace", function() {
let arr = [5, 3, 8, 1];
filterRangeInPlace(arr, 1, 4);
filterRangeInPlace(arr, 2, 5);
assert.deepEqual(arr, [3, 1]);
assert.deepEqual(arr, [5, 3]);
});
it("doesn't return anything", function() {
assert.isUndefined(filterRangeInPlace([1,2,3], 1, 4));
});
});
});