Skip to content

Commit

Permalink
Array.from: remove a redundant test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 6, 2014
1 parent 7bb243b commit 8a79dd1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/array.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ var runArrayTests = function() {
expect(function () { Array.from(null); }).to.throw(TypeError);
});

it('returns [] when given 3', function() {
expect(Array.from(3)).to.eql([]);
});

it('removes holes', function() {
var input = [0, , 2];
var result = Array.from([0, , 2]);
Expand Down

0 comments on commit 8a79dd1

Please sign in to comment.