Skip to content

Commit d3bfbe3

Browse files
authored
Merge pull request #2880 from skaunov/patch-1
Update test.js
2 parents 883bd60 + c68cb11 commit d3bfbe3

File tree

1 file changed

+3
-3
lines changed
  • 1-js/05-data-types/05-array-methods/3-filter-range-in-place/_js.view

1 file changed

+3
-3
lines changed

1-js/05-data-types/05-array-methods/3-filter-range-in-place/_js.view/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ describe("filterRangeInPlace", function() {
44

55
let arr = [5, 3, 8, 1];
66

7-
filterRangeInPlace(arr, 1, 4);
7+
filterRangeInPlace(arr, 2, 5);
88

9-
assert.deepEqual(arr, [3, 1]);
9+
assert.deepEqual(arr, [5, 3]);
1010
});
1111

1212
it("doesn't return anything", function() {
1313
assert.isUndefined(filterRangeInPlace([1,2,3], 1, 4));
1414
});
1515

16-
});
16+
});

0 commit comments

Comments
 (0)